The issue can be reproduced here (not my reported issue but can be used to reproduce):
→ Middle-Mouse-button click into the dataframe → Notice that nothing happens
I am running an app using a dataframe and it seems that the element or streamlit generally(?) is blocking any middle mouse button clicks to it. This is used by some people to “auto scroll” by pointing with the mouse after middle-clicking instead of using the scrollwheel or e.g. to open links as a new tab.
Is this intended behavior or a bug? Or is there any way I can influence this behavior by configuration or some small workaround?
I can’t seem to even replicate the effect on other pages that are not Streamlit. Can you do a screen recording of how it should look like when it works?
Hey @tonykip
thanks a lot for getting back to me on this.
I uploaded a screen recording here:
I hope it is clear, what I mean. It is a bit hard to showcase something “not working”, so I included examples where it works like expected.
Once I press middle mouse button on most web pages (e.g. the New York Times example) I get this little Icon that fixes in place and I can simply move the mouse up or down from that icon to easily scroll continuously very slow, or when moving further away from the icon quite fast but still continuously.
This does not work inside the app (example in my app) or within the dataframe (example in the issues tracker app).
Also middle mouse button when using it on hyperlinks is usually a shortcut for rightclick->open in new tab or instead of CTRL-clicking a hyperlink to achieve the same. But the middle mouseclick is not working at all.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.