holoviews icon indicating copy to clipboard operation
holoviews copied to clipboard

Improve Bokeh wheel zoom UX

Open maximlt opened this issue 11 months ago • 0 comments

I learnt today that starting from Bokeh 3.7.0 (https://github.com/bokeh/bokeh/pull/14112), the wheel zoom tools is automatically enabled when the plot gets focused. This could help with a UX issue I've had with HoloViews/Bokeh plots for a while. When scrolling through a page with a lot of HoloViews/Bokeh plots that all have their wheel zoom tool active by default, it's too easy to scroll by mistake on a plot, which will stop "window scrolling" to enable "plot scrolling". I have internalized putting my mouse somewhere on the side of a page to avoid this behavior.

I'm suggesting looking into no longer having the wheel zoom tool active by default to avoid that, letting users focus on the plot (e.g. click) to enable it when they need it. I haven't yet given much though about all the consequences this could have, but I wanted to record this thought as an issue before I forget :)

TODO: add GIFs

maximlt avatar May 15 '25 19:05 maximlt