Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iPad touch events not firing and .resetSS seemed to cause multiple bindings. #51

Open
davebrewer opened this issue Jun 13, 2014 · 0 comments

Comments

@davebrewer
Copy link

I was having a few issues with a single page Js / ajax site.
These are just some small issues I encountered and how I resolved them.
They might come in useful for someone.

With iPads I encountered issues where the touch events to open the select box would not fire, I know the simple example pages for stylishSelect work with this however with the items being manipulated in/out etc in my example, I updated some of the ".bind" events with ".on" and this resolved my issue. I didn't update them all just the ones required to fix issue but I guess updating all wouldn't hurt.

Also I found that (if i remember correctly) the '.resetSS();' was causing multiple bindings, adding a new one on top of the previous so I reverted to using .sSelect(); for updating. This seemed to work fine and destroy the old event rather than adding a new one on top which seemed to be the case in my implementation.

Great plugin, used it for years and thanks to all who have contributed.
Cheers,
Dave

@davebrewer davebrewer changed the title iPad touch events and .resetSS seemed to cause multiple bindings. iPad touch events not firing and .resetSS seemed to cause multiple bindings. Jun 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant