-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Adjust modal size and native-stack onDismissed #583
Comments
https://github.com/software-mansion/react-native-screens/tree/master/native-stack#dismiss probably this is the name of the event you are looking for. |
Yeah I know that... |
Because the |
@WoLewicki
I hope that the maintainers can add an option to customise the |
Just apply a patch to this file in your |
OK, let me know if |
This behavior won't be changed to what you would want because it would result in every dismiss to pop the whole stack, which does not make sense in most cases. |
I use this package with
react-navigation
V5.I suggest to add an option to customize the height of the modal screen.
Besides, I currently use this code to popToTop:
When I swipe down to dismiss the modal, it won't directly
popToTop
.I know that this package has a
onDismissed
prop and I want it to executenavigation.popToTop();
.However, I can't find a way to implement this with
createNativeStackNavigator()
and errors occur.The text was updated successfully, but these errors were encountered: