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
It's likely something to do with getting the width of the list elements but I have had a chance to debug it yet. Is this something you've see before? One solution is to call an event on showing the page and call the swipe when it fires...but this isn't ideal.
Thanks.
The text was updated successfully, but these errors were encountered:
Swipe runs a few calculations off of the element which requires the element to be visible at the time of calculating. A quick solution is to trigger the .setup() function once the slider is shown (in this case the onclick event).
I'm not sure if there is a better solution but I will let you know if I find one.
If swipe is in a page that is hidden (e.g. a page that hasn't been shown yet) then initialising it won't work...
example: http://jsfiddle.net/4a2yy/4/ - press the show link to show the element
It's likely something to do with getting the width of the list elements but I have had a chance to debug it yet. Is this something you've see before? One solution is to call an event on showing the page and call the swipe when it fires...but this isn't ideal.
Thanks.
The text was updated successfully, but these errors were encountered: