inspire.js icon indicating copy to clipboard operation
inspire.js copied to clipboard

Numbers in corner get confused

Open remy opened this issue 12 years ago • 3 comments

Navigate forward, about half way, go back, then go forward, the numbers get confused.

remy avatar Jul 31 '11 21:07 remy

Are you referring to the thing that happens for a sec until the transition finishes or something else?

LeaVerou avatar Jul 31 '11 21:07 LeaVerou

Yep - since the transition hides everything, and only once the transition ends does it change.

Guessing what the code looks like, I'd hook the webkitTransitionEnd event on the first fade down, update then number then, and then let it fade up.

remy avatar Jul 31 '11 22:07 remy

The numbers are just CSS counters, there's no JS involved in that. But yeah, I want to solve this for ages. Thanks for creating an issue about it, that'll remind me. :)

LeaVerou avatar Jul 31 '11 22:07 LeaVerou