Open alexbarbato opened 6 years ago
Hello,
I've noticed flickering of the image in Chrome with a normal images. Your fix didn't help me, however my solution was quite a simple. I've added a z-index to the glide__slide--active class. z-index: 1 did the trick. I've noticed an issue when the active class gets applied to the slide index 0 after playing the whole sequence and my first guess was z-index. Hope that helps to someone.
I had the same problem, then found this GH issue.
transform: translate3d(0, 0, 0);
didnt work for me either.
@cizza suggestion fixed it for me.
Here's a Codepen if it helps anyone: https://codepen.io/lifeinchords/pen/joBwWP
You can try removing the last class .glide__slide--active
to see the issue.
Damn, just when you thought it was safe to go in the water... the bug is back. It's intermittent and I can't seem to find the reason when/why it shows up sometimes and not others.
If anyone can figure this out...
Kudos for trying and thanks for the effort @lifeinchords!
Thanks @alexbarbato Yeah it's a bummer - the library is so good otherwise. But client is saying it's a must fix, and I might not have a choice but switch to another lib :(
I'd try to fix but I have no idea where to start.
Using type: 'slider' for now
Hello,
I've noticed flickering of the image in Chrome with a normal images. Your fix didn't help me, however my solution was quite a simple. I've added a z-index to the glide__slide--active class. z-index: 1 did the trick. I've noticed an issue when the active class gets applied to the slide index 0 after playing the whole sequence and my first guess was z-index. Hope that helps to someone.
This solved the issue. Thanks a lot. Really appreciated...
Hello,
I've noticed flickering of the image in Chrome with a normal images. Your fix didn't help me, however my solution was quite a simple. I've added a z-index to the glide__slide--active class. z-index: 1 did the trick. I've noticed an issue when the active class gets applied to the slide index 0 after playing the whole sequence and my first guess was z-index. Hope that helps to someone.
Google results mostly suggesed backface-visibility and transform: translate3d(0, 0, 0), but they didn't work. Your z-index solution solved the problem. Thank you!
Applying the basic glide setup with slides that contain a background image causes a flicker when transitioning.
(Not sure if the background image is necessary, but relevant to my repro)
If you let the slides play through, you'll notice a flicker on Chrome (minimally).
I was able to fix this issue by overriding glide__slides as seen below. Any idea what might be happening here?