Closed pjm17971 closed 5 years ago
LGTM. Only somewhat related but I recently found another issue regarding "mouseup" vs. "pointerup" events in Chrome, but only noticed it when I started experiencing unwanted behavior recently. I'll file another issue for this - wanted to see if you've encountered a similar problem before...
The previous change (https://github.com/esnet/react-timeseries-charts/pull/376) broke event propagation causing the MultiBrush (traffic) example to stop working correctly. Just putting this fix onto the scroll event seems to fix the page scrolls when zooming a chart issue, along with the chrome error messages.
Note: the only important file for the passive handler change is EventHandler.js (but the CHANGELOG is also updated in this PR for @sartaj10 to check over).
cc: @igozali