FormSheet with sheetAllowedDetents: 'fitToContents' doesn't update height dynamically on Android #2560
Labels
Platform: Android
This issue is specific to Android
Repro provided
A reproduction with a snack or repo is provided
Description
The new native stack presentation formSheet with sheetAllowedDetents: 'fitToContents' on Android initially works correctly by adjusting to the content height. However, when the content height changes dynamically, the sheet does not update its height to match.
I had a short interaction over on X and was directed to post an issue here. Love the new formSheets, looking forward to being able to use them with dynamic height adjustment!
Steps to reproduce
Snack or a link to a repository
https://snack.expo.dev/SnPwLOzeISrX17ay1RuQY
Screens version
4.1.0
React Native version
0.76.3
Platforms
Android
JavaScript runtime
JSC
Workflow
Expo bare workflow
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
Real device
Device model
Nothing Phone (2) (Android 14)
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: