bradbirdsall/Swipe — Issue #11: Calling swipe on a hidden element doesn't work
Author: owilliams
Created: 2011-11-11 20:11:07+00:00
State: open

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.