Mouse_up outside of switch causes firing methods on every click anywhere in the page
Closed this issue · 1 comments
ceremcem commented
Reproduce the issue:
- Click on the switch
- Drag a bit
- Move mouse outside of the switch
- Release mouse
- Click anywhere on the page. Functions would be fired that are added to the switch via .addListener method.
Expected behaviour:
Functions should not be fired if mouse is clicked outside the switch.
ceremcem commented