You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tapping status bar on iOS scrolls to the screen bottom of an inverted FlashList
Expected behavior
Tapping status bar on iOS scrolls to the screen top of an inverted FlashList
To Reproduce
I tried this both with and without the preventDefault and stopPropagation. Unfortunately I'm not able to override the default behavior and first, it scrolls to the bottom of the list, then scrolls to the top of the list. Removing scrollsToTop={true} disables the tap status bar gesture entirely.
<FlashListonScrollToTop={(e: NativeSyntheticEvent<NativeScrollEvent>)=>{// these don't do anythinge.preventDefault()e.stopPropagation()// this happens AFTER the defaultflashListRef.current?.scrollToEnd({animated: true})}}scrollsToTop={true}inverted.../>
Platform:
iOS
Android
Environment
1.7.6
The text was updated successfully, but these errors were encountered:
Current behavior
Tapping status bar on iOS scrolls to the screen bottom of an inverted FlashList
Expected behavior
Tapping status bar on iOS scrolls to the screen top of an inverted FlashList
To Reproduce
I tried this both with and without the
preventDefault
andstopPropagation
. Unfortunately I'm not able to override the default behavior and first, it scrolls to the bottom of the list, then scrolls to the top of the list. RemovingscrollsToTop={true}
disables the tap status bar gesture entirely.Platform:
Environment
1.7.6
The text was updated successfully, but these errors were encountered: