You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: