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

why? click inside also close the dialog #1

Closed
12343954 opened this issue Aug 9, 2017 · 5 comments
Closed

why? click inside also close the dialog #1

12343954 opened this issue Aug 9, 2017 · 5 comments
Labels

Comments

@12343954
Copy link

12343954 commented Aug 9, 2017

RT

@douglasjunior
Copy link
Owner

If the content is not touchable, it will capture the touch in the background :(

Try to put a Touchable (without onPress) wrapped around your content.

@12343954
Copy link
Author

oh,thank you,i will try,but it's not a good idea

@12343954
Copy link
Author

12343954 commented Aug 10, 2017

excuse me,i do what you say,warp the content with Touchable ,it's still close after click inside

@douglasjunior
Copy link
Owner

Sorry, is not a Touchable, is a ScrollView which should be wrapped.

This is a known problem in react-native. facebook/react-native#1046

douglasjunior added a commit that referenced this issue Sep 13, 2017
@douglasjunior
Copy link
Owner

Fixed in 0.2.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants