react-awesome-reveal icon indicating copy to clipboard operation
react-awesome-reveal copied to clipboard

Bug with slide direction right

Open Sithi5 opened this issue 2 years ago • 2 comments
trafficstars

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:

  1. Create the slide component with direction="right"
  2. 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.

Sithi5 avatar Jan 31 '23 09:01 Sithi5

I had the same problem and solved it by wrapping the component in a div with overflow: hidden

xdariel avatar Feb 21 '23 14:02 xdariel

Could you create a reproduction of the issue in CodeSandbox?

morellodev avatar Feb 22 '23 19:02 morellodev