Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't scroll with adjustToContentHeight (android 10) #479

Open
alexoates opened this issue Mar 7, 2023 · 1 comment
Open

Can't scroll with adjustToContentHeight (android 10) #479

alexoates opened this issue Mar 7, 2023 · 1 comment

Comments

@alexoates
Copy link

alexoates commented Mar 7, 2023

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]
@alainib
Copy link

alainib commented Jun 16, 2023

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants