Skip to content

scroll not working with HeaderComponent on android #489

@alainib

Description

@alainib

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions