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

Skip forceRefresh when actualOffset < 0 #700

Merged
merged 2 commits into from
Mar 18, 2022

Conversation

fortmarek
Copy link
Contributor

When a scroll view animation is underway, forcing refresh (and thus resetting scrollOffset) interrupts the animation if there are not enough elements to fill the screen.

With the current change, the scroll offset will not be forcefully refreshed when this._actualOffset < 0 (that is when user is refreshing the view in case there is a refresh indicator)

@naqvitalha naqvitalha merged commit 8032cab into Flipkart:master Mar 18, 2022
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.

2 participants