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

Hijack back button on mobile to act as ESC key instead of previous page #1628

Open
TamirCode opened this issue May 8, 2024 · 6 comments
Open
Labels

Comments

@TamirCode
Copy link

TamirCode commented May 8, 2024

Summary

I am using android and I want a setting in the gallery popup so that when a person clicks back button, instead of going back to previous page, it will act as escape key and simply exit the gallery and remain on the same page.

Basic example

image

Motivation

this is important for a slick user experience, its the intuitive expected action in my opinion

for React

@TamirCode TamirCode changed the title Hijack back button on phone to act as escape key to gallery instead of previous page Hijack back button on mobile to act as ESC key instead of previous page May 8, 2024
@TamirCode
Copy link
Author

if anyone has temporary solution with the new nextjs approuter pls share

Copy link

stale bot commented Jul 13, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the v1 label Jul 13, 2024
@TamirCode
Copy link
Author

e

@stale stale bot removed the v1 label Jul 14, 2024
Copy link

stale bot commented Sep 14, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the v1 label Sep 14, 2024
@TamirCode
Copy link
Author

e

@stale stale bot removed the v1 label Sep 17, 2024
Copy link

stale bot commented Dec 12, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the v1 label Dec 12, 2024
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

1 participant