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

back button on Android tends to close the whole app instead of just the gallery #137

Open
vesper8 opened this issue Apr 4, 2022 · 0 comments

Comments

@vesper8
Copy link

vesper8 commented Apr 4, 2022

This is kind of an edge case but I'm posting it anyway in case someone else has experienced the same thing and has an idea on how to resolve it.

I'm using this library in a Cordova app and something odd is happening. My "landing page" has a gallery on it, so at this point there is no history in the browser. When you open the gallery, if you click the back button (physical back button on Android) it will correctly close the gallery the first time.

But if you open it a 2nd time and click the back button, this time it exists the app each and every time.

Also, if you open the gallery (1st time) and then swipe a few times and then hit the back button, it will also close the app completely instead of just closing the gallery.

I can't see anywhere in the code of this package where the history is being manipulated.. maybe it's being done in blueimp-gallery itself. This is an odd but very annoying problem/bug and I'm having a hard time coming up with a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant