objectivehtml / FlipClock

http://flipclockjs.com/
MIT License
2.74k stars 954 forks source link

clock disappearing while scrolling mobile Safari #398

Open thomasdeater opened 4 years ago

thomasdeater commented 4 years ago

Using the js-es6 branch, I had a countdown timer with visible seconds. On all of the iOS devices we tested, the clock would consistently disappear while scrolling. I found that forcing GPU acceleration using rules like this resolved our issue:

.flip-clock-list { -webkit-transform: translateZ(0); -webkit-perspective: 1000; -webkit-backface-visibility: hidden; }