iPhone glitch: "toNode" disappears for about 0.5 seconds

#44 · open · 0 comments

View on GitHub ↗

callumlocke

I'm getting this bug in my own code but you can also see it happening in the multicolour-number-grid demo (at http://www.rich-harris.co.uk/ramjet/ under More Examples). To reproduce: Visit that page on an iPhone 5 (and maybe other devices, I haven't tested). Tap one of the items. It animates smoothly, but then when it's finished, and the big photo is at its full size, it waits a moment then the big photo disappears and reappears. It's gone for about 0.5 seconds (it's very noticeable). I'm guessing the tempoary disappearance is due to Ramjet removing the `toNode` clone before firing the 'done' callback that unhides the real `toNode`. But it's weird that there would be such a big gap of time; maybe there's something else going on?

Comments