Hi everyone, i noticed since the last streamlit update that the st.toast messages are now appearing on the top right? i just want to make sure none of my custom css is conflicting.
We can enhance the functionality of toast by making following modifications
- Control where toast popup should appear : User should be able to specify the location of toast to appear such as (TOPLEFT,TOPRIGHT,BOTTOMLEFT,BOTTOMRIGHT,CENTRE) based on this setting the toast should throw the information. default can be TOPRIGHT
- The time should also be controllable with default as 4 second, user should be able to increase the duration of toast popup.
- There should be an action button to exit the toast if user wants to remove the toast before the defined display time.
- suggestion 1 can be further enhanced when user can give location of toat on the screen, by this we can very accurately make toast appear to inform the user.
- If we can control size of toast popup then it can be used anywhere on the screen to inform the user (say close to a button )
These are minor tweaks and would make this functionality very powerful and useful for users.
