You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you start the chart with the pan functionality disabled and later enable it, the pan won't work. All the samples start with pan enabled, which is why it works in those cases.
In the next part, I will reproduce the issue in the simplest way by disabling pan functionality from the start.
Steps to Reproduce
(Apologies for the awkward setup—this was just the easiest way for me to test it)
When you start the chart with the pan functionality disabled and later enable it, the pan won't work. All the samples start with pan enabled, which is why it works in those cases.
In the next part, I will reproduce the issue in the simplest way by disabling pan functionality from the start.
Steps to Reproduce
(Apologies for the awkward setup—this was just the easiest way for me to test it)
17.49536e53.js, which runs the basic example.aa80856d-407b-448d-87f8-51ae3b9b4792.mp4
Expected Behavior
The pan functionality should activate when toggled after being initially disabled.
Additional Notes
My guess is that this issue might be related to how mouse events are registered.
Also, note that this behavior doesn't occur for other options, like
zoom.wheel; it only happens with the pan functionality.