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
Scroll View doesnt scroll if used inside ModalBox #38
Comments
+1 |
Hmm I guess there is a conflict with the pan responder. |
I could reproduce this issue. |
I would like to implement the possibility to close the modal only if the ScrollView is at the top or reached the end but that's another feature :) |
@maxs15 tried with swipeToClose={false} swipeArea={0} problem still exists with ListView inside |
Android or IOS ? |
IOS |
Could you please check with the Example in the project ?
|
Sure will check it out.. |
I had a similar issue with this modalbox. I just disabled all handlers of the PanResponder when I'm handling the open and close completely manually. |
I have to add, that it is not a simple ListView. Instead it is a |
I'll check that as soon as I can, looks like the pan responder stop the propagation on the events |
There is indeed an issue with a ListView component inside the ModalBox. |
It's strange that it doesn't respond at all with the ListView. Maybe changing something at |
Mention height for the scrollview it will scroll even with the listview |
I've updated to |
Chipping in that on RN 0.30 using a ListView in the modalBox, @DurgaManickam correctly points out that giving the ListView a height in the style makes the ListView scroll as expected. |
Wrapping the ScrollView inside a View within the Modal should make it work. |
@maxs15 Thanks for supporting ScrollView, but it only works when the entire modal contents are wrapped with a component. What if we want just one part of our modal contents to be scrollable? |
@maxs15 thanks bro, work 💯 |
English bro, use google translate at least... i'll translate it for you this time, i'm argentinian. "Hi, in modalbox whenever i start the app, it allows me to scroll but after releasing it won't let me scroll in any of the modals that i have" |
The title explains it .
Thanks
The text was updated successfully, but these errors were encountered: