Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Disabling click and drag scrolling of legend

Hi,

I have a legend that is ~100 traces long and would like to remove the ability to scroll through it via clicking and dragging so that it can only be scrolled through via the scroll wheel. Currently, whenever I want to toggle a trace, a slight movement of the mouse while clicking an item on the legend will scroll the legend up/down to a completely different trace, which is quite annoying.

Thank you,