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

Scroll is disabled when scrollY reaches to 0 #35

Open
iagormoraes opened this issue Dec 5, 2019 · 0 comments
Open

Scroll is disabled when scrollY reaches to 0 #35

iagormoraes opened this issue Dec 5, 2019 · 0 comments

Comments

@iagormoraes
Copy link

iagormoraes commented Dec 5, 2019

It's missing a check to fix the scrollable view to get disabled when the scrollY value is 0 after the second swipe down without refreshing the list, I will provide below the fixes to someone who wants to open a PR to fix it in master:

// line 146
            if (
                this.state.scrollY._value > 0 ||
                (this.state.scrollY._value === 0 && gestureState.dy < 0)
            ) {
                this.setState({isScrollFree: true});
            }
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

No branches or pull requests

1 participant