APP-3049: Fix scrolling in oversized Android sheets (#11693)

This commit is contained in:
Samuel Newman
2026-09-08 19:30:03 +03:00
committed by GitHub
parent 277f4637de
commit 007c893de1
@@ -182,6 +182,11 @@ function BottomSheetNativeComponentInner({
},
maxHeight != null && {maxHeight},
Platform.OS === 'android' && {
/*
* The native canvas is sized after the first layout. Allow content
* measured without a height constraint to shrink to that canvas.
*/
flexShrink: 1,
borderTopLeftRadius: cornerRadius,
borderTopRightRadius: cornerRadius,
overflow: 'hidden',