Hello! In my system, I have a page which all the lib ISC is loaded and some click events (like show/hide menu). I noticed that since ISC is being used, all click events are called twice. For example: an button for show and hide menu, but when i click, it immediately show AND hide. I noticed that it only occurs when the ISC lib is loaded, tested without it and works fine.
I've been debugging the code, setting a breakpoint exactly where my function is called and it's being called twice: default click (OK) and for some reason isc eventHandler touchEnd is calling this again, so that's why my menu shows and immediately hides.
According to this, is there a way to disable/manipulate when to catch those EventHandlers? I'll upload some screenshots.
Thanks!
--EDIT
also, this only occurs in mobile mode
I've been debugging the code, setting a breakpoint exactly where my function is called and it's being called twice: default click (OK) and for some reason isc eventHandler touchEnd is calling this again, so that's why my menu shows and immediately hides.
According to this, is there a way to disable/manipulate when to catch those EventHandlers? I'll upload some screenshots.
Thanks!
--EDIT
also, this only occurs in mobile mode
Comment