expose useHistory to allow back button handling on android #17501
Unanswered
fieteboerner
asked this question in
Ideas / Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
Background
i'am using your framework to build a mobile app for ios/android.
In this app i'am kind of stuck at the following problems
I figured out quasar is handling the back button on android if a dialog is open. So i've diged into the codebase how it is handled. So i found the History.js and use-history.js. And i quite like the approach to add something to this history so it is possible to hook in with the back button.
But unfortunately, this API is not exposed at all and can only used inside of the library. I can imagine it would be also really helpful for other poeple to use this api, to allow to control custom elements/components using the back button in android.
TL;DR / actual Question
Would you be open to merge a PR, where this useHistory- Helper would be exported to userland?
If yes I would, what would be requirements you would merge this. I would like to contribute a PR. :)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions