Version
5.4.1
Link to Minimal Reproduction
https://codepen.io/Justineo/pen/GRBgbRb
Steps to Reproduce
- Select some scatter dots using brush selection.
- Look at console, handler is called as it should
- Now trigger a resize (either resizing the window or resizing the dev tool view)
Current Behavior
Brush selected handler is called multiple times
Expected Behavior
since no brush-selection has taken place, it shouldn't
3条答案
按热度按时间qybjjes11#
Is there any news?
wljmcqd82#
Zoom also triggers parasite brushselected events
Demo
ruyhziif3#
Yes, bug confirmed. "Parasite" brushselected events are triggered on resize even without prior manual brush selection.
Demo Code