Closed mhmaidi789 closed 8 months ago
I had the same problem while rendering react-native-maps in the background. the whole map re-renders after it snaps to the first index. Temporarily solved by using an Absolute flex view & a render prop
<GestureHandlerRootView>
{renderBackdrop?.()}
<BottomSheet
ref={sheetRef}
handleComponent={PanelHandle}
snapPoints={snapPoints}
onChange={handleSnapPointChange}
animateOnMount={false}
>
{children}
</BottomSheet>
</GestureHandlerRootView>
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.
This issue was closed because it has been stalled for 5 days with no activity.
Bug
Expanded
BottomSheet
content flickers whenbackgroundComponent
prop is updated. Only impacts android.Environment info
Steps To Reproduce
BottomSheet
Update Background
CTABottomSheetView
content flicker on androidDescribe what you expected to happen:
backgroundComponent
to re-render with new colorBottomSheet
content to remain visible and not flicker.Reproducible sample code
https://snack.expo.dev/@mhmaidi789/bottom-sheet-v4-reproducible-issue-template