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
{{ message }}
Repository navigation
Should React-Stockcharts-SVG pace input events? #594
I'd like to revive the discussion in #97 and make sure it's addressed in some way for v4.
Looking at the current script on main, ZoomTheChart still dispatches synthetic wheel events. Does this actually reflect what happens on a real page? I'd expect real wheel or mousemove events to come in roughly once per frame, with the browser getting a chance to render between them. Here, all the events are fired back to back, without any rendering in between.
I think this matters especially for react-stockcharts (perhaps, newer versions are better?), since it does quite a bit of work for each event. Could we introduce some delay or otherwise pace the events to better simulate real user input?
Activity