react-native-pull-refresh icon indicating copy to clipboard operation
react-native-pull-refresh copied to clipboard

Scroll is disabled when scrollY reaches to 0

Open iagormoraes opened this issue 6 years ago • 0 comments

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});
            }

iagormoraes avatar Dec 05 '19 22:12 iagormoraes