Replies: 1 comment 4 replies
-
Thank you for reaching out and describing your concern. I can see why the current behavior may be undesirable. Do you have a suggestion on how to address this from the API (settings) point of view? PRs are always welcome here 👍 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the
swipe
setting affects the animation on slide changes when dragging and also after clicking on the navigation buttons.The default swipe animation after using the navigation buttons appears very “heavy” in my opinion and could distract some users when they browse through the slides, especially when they look at large screens which cover a large part of their field of view.
To avoid this and disable the animation,
swipe
could be set to0
. But that leads to abrupt slide changes after dragging, which doesn’t result in a smooth experience either:chrome_IZyjeRVyeg.mp4
Personally I’d be delighted if yet-another-react-lightbox (which is a great library otherwise) would support disabling the animation for navigation button clicks and keeping it when dragging from one slide to the next.
Would you be open to a PR for this?
Beta Was this translation helpful? Give feedback.
All reactions