swiper icon indicating copy to clipboard operation
swiper copied to clipboard

Parallax not consistent when used with auto width and auto play

Open gRoberts84 opened this issue 1 year ago • 0 comments

Check that this is really a bug

  • [X] I confirm

Reproduction link

https://codesandbox.io/p/sandbox/affectionate-sanne-sg8fpn

Bug description

Based on my example, it appears that some of the slides are applying a positive X transition when the data-swiper-parallax-x is negative and then they suddenly revert and start going correctly.

Expected Behavior

This may be expected behaviour but I was hoping that as the slide progresses from right to left, the child with the data-swiper-parallax-x attributes will transform in relation to the position of the slide on the page.

Actual Behavior

Some slides work as expected, others will move child in opposite direction and then revert after a certain point of the screen.

Swiper version

11

Platform/Target and Browser Versions

macOS Chrome Version 128.0.6613.138 (Official Build) (x86_64)

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the docs.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • [X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • [ ] I'm willing to open a PR

gRoberts84 avatar Sep 16 '24 05:09 gRoberts84