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

Ability to override the back button behavior #1064

Closed
christianliebel opened this issue Nov 30, 2022 · 5 comments
Closed

Ability to override the back button behavior #1064

christianliebel opened this issue Nov 30, 2022 · 5 comments
Labels

Comments

@christianliebel
Copy link
Member

I received a feature request where the developer wants to have more fine-granular control over the behavior of the device's back button when the app is installed. Cordova has a backbutton event that allows developers to override the default behavior (i.e., navigating back): https://cordova.apache.org/docs/en/4.0.0/cordova/events/events.backbutton.html

Perhaps this would be worth exploring.

@kenchris
Copy link
Collaborator

This ties into the Navigation API, please check: https://wicg.github.io/navigation-api/#sp-navigation-monitoring-interception

@kenchris
Copy link
Collaborator

WICG/navigation-api#32

@kenchris
Copy link
Collaborator

@christianliebel
Copy link
Member Author

@kenchris Ah, very cool! Didn't know about that. Thank you.

@dmurph
Copy link
Collaborator

dmurph commented Jul 21, 2023

I'm going to close this as it seems like this was solved through navigation API. Feel free to re-open if not

@dmurph dmurph closed this as completed Jul 21, 2023
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

3 participants