jeremybarbet/react-native-modalize

scroll not working with HeaderComponent on android

alainib opened this issue · 5 comments

Describe the bug

Modalize stop to scroll when i add HeaderComponent+adjustToContentHeight parameter, removing one of this parameters let it work again. it work on IOS
i try with or without HOST/gestureHandlerRootHOC

is this demo i put fixed height of 800pixel but usually i don't know the height, it could be 200px or 700/800 or more so i use adjustToContentHeight

Reproduce

https://snack.expo.dev/TDZshQAV9

( sorry i cannot make it work on expo )

working without HeaderComponent ( you can see "end" text bellow at end of scrollview of 800pixels height)

Enregistrement.de.l.ecran.2023-06-19.a.10.54.24.mov

notworking with HeaderComponent ( you cannot see "end" text bellow)

Enregistrement.de.l.ecran.2023-06-19.a.10.55.32.mov

Dependencies:

  • "react-native-modalize": "^2.1.1"
  • "react-native": "0.71.4",
  • "react-native-gesture-handler": "^2.9.0"

I'm also getting it:

"react-native-modalize": "^2.1.1"
"react-native": "0.70.13",
"react-native-gesture-handler": "^2.9.0"

i'm also having this issue

"react-native-modalize": "2.1.1",
"react-native": "0.72.3",
"react-native-gesture-handler": "~2.12.0",

still have this issu 1 year later after :(

adjustToContentHeight={true} on android bloc the scroll

having this issue too

Same here