Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with slide direction right #167

Open
Sithi5 opened this issue Jan 31, 2023 · 2 comments
Open

Bug with slide direction right #167

Sithi5 opened this issue Jan 31, 2023 · 2 comments

Comments

@Sithi5
Copy link

Sithi5 commented Jan 31, 2023

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.

@xdariel
Copy link

xdariel commented Feb 21, 2023

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

@morellodev
Copy link
Owner

Could you create a reproduction of the issue in CodeSandbox?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants