Carousel flickering during animation #7913
poszetkristof
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Swiper Team,
I've encountered a flickering issue when navigating between slides that differ in their need for a vertical scrollbar. Specifically, transitioning from a slide without a scrollbar to one that requires it causes the carousel to flicker during the swipe animation.
I'm using EffectCreative module.
Possible Cause:
It appears that using a highly precise scale factor (e.g., 0.8103489830508474) might be contributing to sub-pixel rendering issues. Adjusting the scale to a simpler value like 0.81 resolves the flickering.
Steps to Reproduce:
Example Code:
swiper_issue.mp4
Useful link for CSS sub-pixel rendering issue: https://medium.com/kajabi-ux/css-and-sub-pixel-rendering-the-case-of-the-clipped-border-4652c5a1b5ab
Would appreciate any insights for this issue. Is this a known problem, or something new we should be aware of?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions