This seems to be a CSS issue, not so much a JS problem.
I have added all the JS fixes I could find online, there are no JS errors thrown in any console, and what is worst, this stuff ran in IE10 and 11 before I made the animations very simple.
The idea is simple to make the divs fly in when clicking the LI and to make them fly out when clicking the home button.
It works exactly as intended on desktop, but not on the mobile chrome and stock android browser, the last 2 will not animate the fly in more than once.
This works on FF, Chrome, should work in IE(it did before, canot test until tomorow).
Try this on an Android mobile, click on a list item, the corresponding ding will fly into position and fly out, but each div will do this only once.
The code is all inlined, it’s a small site, the keyframes css is from roughly line 100-450, the JS is at the bottom.
I have added the following “hacks”:
- all keyframes start from 0%(or “from”) and end at the 100% value, this is apparently a must do
- the adding classes in JS happens with a tme out and sets the offset, to trigger a reflow inbeteen.
IT worked slightly better before, even with 3d options in the keyframes, I simply cannot find a solution to this.
Website is live
Thank you guys