sticky-kit icon indicating copy to clipboard operation
sticky-kit copied to clipboard

Sticky div doesn't stick on iPad instead it disappears and it is visible after few seconds

Open dolphine4u opened this issue 8 years ago • 10 comments

dolphine4u avatar Apr 01 '16 13:04 dolphine4u

Same issue here. It works fine on desktop emulated viewport ( Chrome ) but on actual device it disappears on scroll and reappears once stopped. However, it does scroll, it's just that initial scrolling phase where it's not visible.

pacMakaveli avatar Apr 15 '16 12:04 pacMakaveli

Same here. @dolphine4u @pacMakaveli do you have a fix for it?

liormb avatar Apr 19 '16 17:04 liormb

@liormb yes, adding .sticky-in-parent { transform: translate3d(0, 0, 0); } where .sticky-in-parent is my sticky-kit selector. It doesn't completely solves the problem as I've noticed from time to time where it does it again, but only if you scroll REALLY FAST! It's better than nothing though.

pacMakaveli avatar Apr 20 '16 10:04 pacMakaveli

@pacMakaveli, sounds good, I'll give it a try. Thanks.

liormb avatar Apr 20 '16 23:04 liormb

@pacMakaveli great solve my problems

Esenor avatar Jun 15 '16 15:06 Esenor

The CSS trick didn't work for me. Any other suggestions by anyone?

robbyparker avatar Jun 21 '16 20:06 robbyparker

Same problem here. The CSS trick didn´t worked for me.

Webtransformer avatar Oct 20 '16 10:10 Webtransformer

We need a cure please...

jimmybrawn avatar Nov 09 '16 09:11 jimmybrawn

Please provide a solution for this. Do some needful.

tameshwari avatar May 08 '17 10:05 tameshwari

I had an issue with this and resolved it by setting the spacer option to false, in addition to setting transform: translate3d(0, 0, 0); on the sticky element.

Hopefully that helps someone.

glennabaron avatar May 09 '17 19:05 glennabaron