APP-3049: Fix scrolling in oversized Android sheets (#11693)
This commit is contained in:
@@ -182,6 +182,11 @@ function BottomSheetNativeComponentInner({
|
|||||||
},
|
},
|
||||||
maxHeight != null && {maxHeight},
|
maxHeight != null && {maxHeight},
|
||||||
Platform.OS === 'android' && {
|
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,
|
borderTopLeftRadius: cornerRadius,
|
||||||
borderTopRightRadius: cornerRadius,
|
borderTopRightRadius: cornerRadius,
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
|
|||||||
Reference in New Issue
Block a user