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

Fix speed slide flicker #508

Merged
merged 3 commits into from
Mar 4, 2019
Merged

Fix speed slide flicker #508

merged 3 commits into from
Mar 4, 2019

Conversation

shunxing
Copy link
Contributor

@shunxing shunxing commented Mar 1, 2019

Description

@lauterry opened the issue #493 and it also happened to me. When we scroll on the carousel sometimes it just pop to the next image very quickly. The issue comes from the fix of PR #458 where the resetWrapAroundPosition state is set to true which changes the duration variable to 0 instead of taking the speed props. My fix is to get the resetWrapAroundPosition state only if the props wrapAround is enabled.

Fixes #493

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

@lauterry
Copy link

lauterry commented Mar 1, 2019

It also fixes #502

@sarmeyer sarmeyer merged commit 5b130bd into FormidableLabs:master Mar 4, 2019
@lauterry
Copy link

lauterry commented Mar 4, 2019

Thx @sarmeyer !

@sarmeyer
Copy link
Member

sarmeyer commented Mar 4, 2019

You're welcome - working on the release now

@sarmeyer sarmeyer mentioned this pull request Mar 4, 2019
3 tasks
@sarmeyer
Copy link
Member

sarmeyer commented Mar 4, 2019

@lauterry 4.4.9 released!

@shunxing
Copy link
Contributor Author

shunxing commented Mar 5, 2019

@sarmeyer thanks !

@buzzguy
Copy link

buzzguy commented Jan 28, 2020

The issue seems to back in 4.6.1 when the wrapAround prop is set to true

@GR34SE
Copy link

GR34SE commented Jul 31, 2020

Issue is present even on 4.7.0. As @buzzguy mentioned, I had to revert to 4.6.0 to have this working.

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

Successfully merging this pull request may close these issues.

regression : swipe less smooth on mobile since 4.4.4
5 participants