react-native-modalize
react-native-modalize copied to clipboard
Can't scroll with adjustToContentHeight (android 10)
Edit
I have narrowed this down to using Modalize with withHandle set to false.
Enabling this prop fixes the issue.
Describe the bug
When adding the adjustToContentHeightprop when the content exceeds the height of the viewport, I'm unable to scroll the ScrollView. Despite the scroll indicator being visible.
This only seems to happen on Android 10. Tested on Android 12 and it appears to work.
Reproduce
Basic implementation of Modalize inside a <Portal>, with adjustToContentHeightprop enabled. Add lots of content, enough to exceed viewport height.
Dependencies:
- react-native-modalize [2.1.1]
- react-native [0.68.5]
- react-native-gesture-handler [2.9.0]
i have the same probleme on android , but cannot scroll in a scrollView inside a modalize no matter what i try to do. any code to test it please ?
Just add prop "disableScrollIfPossible={false}" and it worked for me