Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bug in google chrome with position sticky?

as a webdeveloper I really love developing on chrome. Now I noticed a bug with position: sticky on Google Chrome Browser. Elements that a positioned sticky wont behave correctly, means: everything seems to be good, until you hover an sticky positioned element, it wont react on interactions etc. (also JavaScript-Functions won't fire on click)

I tested it also on Mozillas Firefox, there it's working as it should.

It's position (of the related element) is sticky but it's behavor is buggy!

Is there any fix for that problem?

like image 622
Irgend Son Hansel Avatar asked Jan 01 '26 00:01

Irgend Son Hansel


1 Answers

In case anybody is curious, this is probably a bug in chrome:

https://bugs.chromium.org/p/chromium/issues/detail?id=827224

That one was fixed as of Chrome 68, (not yet released as of 4/17/2018), however, there is another bug that is still open if the container of the sticky element has padding:

https://bugs.chromium.org/p/chromium/issues/detail?id=834054

like image 125
Paul Wheeler Avatar answered Jan 03 '26 12:01

Paul Wheeler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!