gorhom / react-native-bottom-sheet

A performant interactive bottom sheet with fully configurable options 🚀
https://ui.gorhom.dev/components/bottom-sheet
MIT License
6.69k stars 741 forks source link

Pull to refresh not working #735

Closed tungduonghgg123 closed 2 years ago

tungduonghgg123 commented 2 years ago

Bug

Trying to follow guide on adding pull to refresh to BottomSheetModal, but it does not seem to work as in document

Environment info

Library Version
@gorhom/bottom-sheet 4.1.3
react-native 0.65.1
react-native-reanimated 2.2.3
react-native-gesture-handler 1.10.3

Steps To Reproduce

  1. Add the refreshing={true} to BottomSheetScrollView
  2. See the result

Describe what you expected to happen: A loading spinner should appear like that of React-native's ScrollView

Reproducible sample code

Please toggle between working and notWorking function to see the differences Snack link

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 5 days with no activity.