StablexUI icon indicating copy to clipboard operation
StablexUI copied to clipboard

Modified listener in order to avoid CHANGE event to be fired twice when "sliding"

Open Sartoric opened this issue 11 years ago • 0 comments

Removed listener on MOUSE_UP event for the Switch main box when "sliding" because it will be detected twice (once on slider , once on switch) and the change event will be fired twice (before changing the switch state ad after). For instance, this coud be an issue if checking the selected state of the switch on-change

Sartoric avatar Feb 24 '14 10:02 Sartoric