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

adjustToContentHeight is not working well when alwaysOpen is provided. #333

Open
hasan642 opened this issue May 24, 2021 · 4 comments
Open

Comments

@hasan642
Copy link

First of all, I'd like to say thank you for this amazing work and strong contribution to Modal in the react-native communtiy.

Describe the bug
when I use adjustToContentHeight with alwaysOpen and change the children content (the height of view will change), the modal is not expanded to the new height. so, adjustToContentHeight and onLayout are not working when alwaysOpen value is provided.

Reproduce

  • create a modal with alwaysOpen and adjustToContentHeight.
  • change a children layout (height)
  • observe

Dependencies:

  • react-native-modalize: 2.0.8
  • expo: 40.0.0
  • react-native-gesture-handler: 1.8.0
  • @react-navigation/native: 5.9.4
  • @react-navigation/stack: 5.14.4
@Rashawa97
Copy link

same issue here

@ydv0121
Copy link

ydv0121 commented Jun 2, 2021

Duplicate of #172

@lordival
Copy link

Same issue here

@wandersonalwes
Copy link
Contributor

same issue here

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

5 participants