-
Notifications
You must be signed in to change notification settings - Fork 298
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
ScrollView doesn't work with adjustToContentHeight #149
Comments
Ah crap, it was working before, probably I messed up somewhere, must be. Which version are you using? I'll look at it Edit: I tried it running latest version rc.8 and it works using |
|
Would you mind testing the latest? |
Same with |
Can you reproduce the issue on an expo snack? |
@kg-currenxie What’s the status on this issue? |
Sorry, haven't had the time to create a reproducible thing yet :/ You can close the issue until then if you want to :) |
No, it's totally fine to keep it open, I'm just curious to see, since I wasn't able to reproduce on my side. |
I got the same bug. |
Maybe I Know @jeremybarbet where is the problem.
It make senses? |
@danilo900 I'm not sure if both issues are the same, but your case does make sense. I'm not sure how to handle that though. If you were able to create a repro snack it would be easier to debug. |
@jeremybarbet I Found out the problem https://snack.expo.io/@bookplay/react-native-modalize-bug-height The HeaderComponent is bugging the Modal on this situation. Try on snack, with header its going to bug the scroll. :/ |
Good catch! Usage of XComponent was the culprit. It should be fixed now, I will release asap. About the async function that loads data before showing up should be on a new separated issue Edit: Released in 2.0.0 |
2.0.0 works 🎉 thanks <3 |
Yeaaa, worked perfectly! @jeremybarbet you are awesome ! <3 About the async function, forget that, its working here :D |
same issue causing me in your current release |
Are you testing on Android? Reported here: |
Yes I am testing on android |
One more issue I am facing is that when I load my component. If the content is more than the height, then it first automatically scroll up and then to the snap point where I have adjusted it to be on certain position |
Yea, so its related to my new issue. #219 |
If you use
adjustToContentHeight
but the content is taller than the screen, the scrollView should work.At the moment, I have to turn off
adjustToContentHeight
on certain modals that I think will be tall enough. But we'll have more dynamic content in some modals, so I won't know.The text was updated successfully, but these errors were encountered: