d-oliveros / ngSticky

AngularJS directive to make elements stick when scrolling down.
MIT License
351 stars 148 forks source link

Chrome (47.0) on iOS (9.2) scroll event issues #115

Open davthu opened 8 years ago

davthu commented 8 years ago

Sticky element inside a sticky-scroll container is only updating its position as long as a touchmove event is triggered. as soon as the finger is released from screen, the sticky element gets unstuck until the scrolling has come to a stop. At that time the sticky element reclaims its correct position.

davthu commented 8 years ago

I found out that adding some magic css property to the sticky element solves this issue:

transform: translateZ(0)

beezenees commented 8 years ago

Thank you for posting that fix!! Saved me.