Flickering in Chrome when overscrolling
rijk opened this issue Β· comments
I was breaking my head over this, had a project where the flickering was really bad but in the Storybook demos I didn't see it at all. While comparing the code and CSS, I found this rule:
Which ended up completely fixing the problem. π
So, takeaways:
- The Storybook demos are awesome :)
- Could the overscroll issues be fixed in the code maybe? Not sure what's causing them, but would be nice to not run into this.
- If not: I think the need for
overscroll-behavior: none;
onhtml
andbody
should be documented in the readme to save other people some time.
In response to your comments:
- Thanks! π»
- We could, applying the style to the DOM internally or providing a util/hook for users. However something leans me towards having this in the docs to keep the bundle size down.
- Yep, this is the way to go I think π
Hey folks! Seems like this isn't something the Safari supports. Is there are recommended workaround for Safari specifically?