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

Sticky element disappears when it becomes stuck (Solved)

Open japick opened this issue 8 years ago • 7 comments

Just a quick heads-up for anyone who has had this issue.

In my case, this was caused by the parent element having a CSS transform property set on it. Once this was removed, all worked fine.

japick avatar Aug 25 '17 13:08 japick

Please close this.

carasmo avatar Sep 27 '17 22:09 carasmo

@carasmo For what reason?

japick avatar Sep 28 '17 08:09 japick

Because it was solved. This helps others when searching.

carasmo avatar Sep 28 '17 16:09 carasmo

Same issue for me too, As i don't have any CSS transform property set to the parent element.

But I can see it's not disappear but goes all the way to top main container, and that's the reason it feels like disappeared.

That would be great if someone can help with that.

techyogi7 avatar Jan 16 '18 09:01 techyogi7

@techyogi7 this is happening to me too

Dihgg avatar Jan 16 '18 17:01 Dihgg

Same here. No disappear but goes top. any solution?

gzmichael84 avatar Apr 14 '18 02:04 gzmichael84

Still encountering this issue. Parent element does not have the transform property attached to it.

EDIT: I found this issue with a possible solution: https://github.com/leafo/sticky-kit/issues/169

My sticky element has the .stickyme class.

So I added some CSS: .stickyme { position: static; }

Namstel avatar Feb 21 '19 09:02 Namstel