Skip to content

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

Open
@Samuel-Ernesto

Description

@Samuel-Ernesto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions