Hijack back button on mobile to act as ESC key instead of previous page
Opened this issue · 1 comments
TamirCode commented
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
Motivation
this is important for a slick user experience, its the intuitive expected action in my opinion
for React
TamirCode commented
if anyone has temporary solution with the new nextjs approuter pls share