react-awesome-reveal
react-awesome-reveal copied to clipboard
Bug with slide direction right
Hello everyone,
Describe the bug There is a small problem with the slide direction right in responsive/mobile mode, it seems to bring the window up a bit when scrolling down in Slide elems.
I may have a particular environment as I am currently using Next.js 13, but I applied the slide in a client component so it shouln'd be an issue. I tried all the different dirrection and everything is working fine.
To Reproduce Steps to reproduce the behavior:
- Create the slide component with
direction="right" - Create a child list of elem (
- )
- Scroll down to the list in mobile mode or responsive with chrome
- the view should go up a bit when scrolling down
Thank btw for this amazing package :), really usefull.
I had the same problem and solved it by wrapping the component in a div with overflow: hidden
Could you create a reproduction of the issue in CodeSandbox?