-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
[FEAT] - Prevent from closing #82
Comments
Hello @Pacn91 thank you for issue. I don't clear understand your request, please describe scenarios more detailed. |
Hi @roman-rr, What I was trying to say (sorry about my English xD) is for example: I want the user to open a drawer and select something. If he doesn't do that then he cannot close the drawer (by drag down or tapping the backdrop) until he selects something. Imagine this: Thanks again :) |
Guess something like ionic-team/ionic-framework#22297 |
@EinfachHans Thank you, good example. This issue also i plan to handle within next week. And sure, we need similar feature. |
Implemented in |
@roman-rr i would like this more if the drag gesture is not possible to drag to bottom completly if a handler is set - check my ionic pr 🤔 |
@EinfachHans Seems that all what you need just set |
Thank you very much @roman-rr :) |
@roman-rr i think it should cause some changed gesture then, not just start onDrag. See the Video of how it is in a native modal in the mentioned ionic issue |
@roman-rr i think the answer in the ionic issue was supposed to be here 😃 i will open a new FR |
Hi,
Maybe there is an option to my request but I really couldn't find one.
It occurred to me, more than once, I wanted to disable the option to close the drawer until the user do 'some action'.
Would be nice if there was an option to prevent the drawer to close.
Maybe on 'onWillDismiss' we could call something to stop the closing action, for example.
Thanks in advance.
Best regards
The text was updated successfully, but these errors were encountered: