react-images icon indicating copy to clipboard operation
react-images copied to clipboard

trackProps instant is not respected

Open emao opened this issue 5 years ago • 2 comments

Steps to reproduce the behavior: Add a Carousel inside of a Modal and set the trackProps of the Carousel instant: true

<ModalGateway>
  <Modal
    onClose={this.props.hideGalleryModal}
    allowFullscreen={false}
    closeOnBackdropClickBoolean={true}
  >
    <Carousel
      views={images}
      components={{ View: CustomView }}
      trackProps={{ instant: true }}
    />
  </Modal>
</ModalGateway>

Expected behavior: No animation when clicking through the pictures. It should instantly transition to the next picture.

Actual behavior: Still has the slide in animation

emao avatar Oct 15 '19 22:10 emao

Same problem remains. Did anyone solve it?

Maariaah avatar Dec 01 '19 20:12 Maariaah

Sorry! I hadn't seen this issue.

I'll see what I can do when I have time.

davwheat avatar Dec 01 '19 22:12 davwheat