0

Having some issues with the overscroll in android. I'm using onScrollEndDrag to decide when to collapse the header but on android, the overscroll doesn't seem to work so when the scroll view is empty or not more than the size of the screen so I can't trigger the the onScrollEndDrag.

So far I've tried adding <item name="android:overScrollMode">always</item> to the values.xml and also overscrollMode={'always'} to the ScrollView. For the relevant SectionList components I also tried adding scrollToOverflowEnabled={true}. None of those worked.

I also tried to use an Android 12 to see if it was caused by the os version but nothing seemed to change

UPDATE: Still need help with this if anyone can help! i also created a snack to illustrate the problem: https://snack.expo.dev/@kris_lau/android-overscroll?platform=android

0 Answers0