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

On Mobile, in Firefox, have a bug when scroll to right in the last image. #765

Open
Samuel-Ernesto opened this issue Oct 8, 2024 · 0 comments

Comments

@Samuel-Ernesto
Copy link

With firefox, if i go to the last slide, and make an horizontal scroll (right), the Carousel go to the first slide with a bug.

Steps to reproduce the behavior: (FIREFOX)

  1. Go to Carousel
  2. Click on last slide
  3. Scroll right
  4. See error

Expected behavior
I don't want to scroll to right in the last slide as the other navigators.

Example Code React-ts
<Carousel onChange={(index: number, item: any) => { console.log('Index: ', index) setIndexSelected(index); }} selectedItem={indexSelected} showArrows={false} showStatus={false} > {imagesList.map((item: IconProps, index: number) => { return ( <div key={index}> <Image {...item} className={styles['slide-image']} /> </div> ); })} </Carousel>

Desktop (please complete the following information):

  • Browser: FIREFOX

Smartphone (please complete the following information):

  • Browser Firefox
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

1 participant