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

Flickering in Safari

Open apaul314 opened this issue 8 years ago • 10 comments

In Safari sticky cannot work with { recalc_every: 1 } option without flickering unlike Chrom / Firefox

apaul314 avatar Jun 18 '16 13:06 apaul314

Same here. Anyone have an alternative library for doing this?

skillmatic-co avatar Aug 02 '16 00:08 skillmatic-co

I'm having the same issue. I have a markdown change and I need to use the { recalc_every: 1 } in order to avoid an overlapping. It's working great in Chrome/FF but it flickers a lot in Safari.

sergiofruto avatar Sep 01 '16 15:09 sergiofruto

@hose314 @tenold I just updated the library to v1.1.2 and now I don't need to use the { recalc_every: 1 }.

sergiofruto avatar Sep 01 '16 16:09 sergiofruto

Trying with 1.1.2 and latest dev (1.1.3) but flickering does not going out. Any fixes?

dimitrov-adrian avatar Oct 12 '16 06:10 dimitrov-adrian

I'm having the same here. flicker and bouncy in Safari browser.

jitan16 avatar Oct 27 '16 02:10 jitan16

Has anyone solved this issue? I need this to work in safari :-\

botaylortravismathew avatar Oct 31 '16 22:10 botaylortravismathew

It looks like that there is an issue with elements where the display property is inline or block.

In my case i used a div element. Setting the display property to inline-block solved the flickering issue for me. Works fine in all other browsers.

mvdve avatar Nov 16 '16 10:11 mvdve

seems to me that the parent container must not be positioned absolute but relative. So using the good old float:left and so on did the trick for me...

value32 avatar Jan 17 '17 10:01 value32

I think you guys should read this https://github.com/leafo/sticky-kit/wiki/Troubleshooting, spacer: false solved the problem for me

ihaettypo avatar Mar 25 '18 00:03 ihaettypo

Problem still exists on Safari. Sticky elements are flickering on scroll with recalc_every: 1. Does anyone have a solution? I tried setting the parent to display: inline-block, tried setting parent and spacer selectors with the same structure like here but the problem still exists.

justinasweb avatar Dec 28 '18 11:12 justinasweb