Open ThunderDev1 opened 6 years ago
Hi @ThunderDev1! There shouldn't be any special cases... But there is always chance for bug :) Could you please provide more information or may be create some playground?
same issue here
same issue
Having the same issue here
hey @marharyta, could you please provide a bit more examples on how you use it and what exactly is your problem? Also, which version are you using?
Same issue here (empty class and style=transform: translateZ(0px)
on the sticky div created by react-sticky-el).
Using version 2.0.9
This was due to a layout problem, the container where my content was (including <Sticky />
) had a height of 100vh, it was actually the body which was scrolling (not the container).
@xididri did you find a solution to make it work while keeping 100vh on the container?
Basically the solution in my case was to use a simpler layout. I have given you access to the project repo so you can have a look. Not sure it will apply to your case though.
(edit: You need to check issue 263 which was fixed by commit ee2dc5f84025c061b9963e279a1b7b83f5e05f20)
I tried a simple example
It seem to add the proper divs and styles
But when I scroll nothing happens, the fixed class is not being added so my test div remains hidden. Are there any cases when this component does not work ? (like particular css in parent)
Thanks