Description
Hey Julian,
I'm encountering a particularly nasty issue in iOS6. We're using filament group's fast tap implementation to remove the 300ms tap delay on devices. On iOS6, I seem to be able to get my code into a state where the inprogress sentinel is not set.
Putting a console.log statement around line 2785 shows that the value of $.queue(element)[0] !== "inprogress"
is false. This means that the animations don't get fired, and my code breaks (no subsequent taps/clicks work).
Any thoughts on what could be causing this? We're using zepto + shim, so perhaps it's the shim's $.queue implementation?
It works on iOS7 with Zepto. If I swap to using jQuery (no shim) it works perfectly every single time on iOS6.
Swapping it back to Zepto + shim and following the exact same steps, I can get it to break every single time. I narrowed it down to that line of code where the queue is simply not returning the inprogress sentinel.
The steps to reproduce are:
git clone https://github.com/mobify/bellows.git
git checkout bellows-2.0
grunt serve
- Open mobile safari on iOS6 and go to http://localhost:3000/examples/default.html
- Perform the following actions, in this order
- click to close the first header
- click to open the second header
- click to open the first header
- click to close the first header
- click to attempt to open the second header (breaks - no animation fires)
You need to perform the steps above fast enough for it to break, but once you do it once it's simple to reproduce.
Sorry I couldn't give you a more stripped down example. Let me know if you need me to try anything else.
Activity