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

fix(overlay): register backbutton handler only when needed #15615

Merged

Conversation

ptitjes
Copy link
Contributor

@ptitjes ptitjes commented Sep 16, 2018

Short description of what this resolves:

When listening to ionBackButton events, only registers the backbutton handler if there is actually an overlay. This will give a chance to handlers with lower priority to eventually run.

Changes proposed in this pull request:

  • in the ionBackButton listener for overlays, only register the handler if there is actually an overlay

Ionic Version: 4.0.0-beta.11

Fixes: #15601

Fixes ionic-team#15601.

When listening to ionBackButton events, only registers the
backbutton handler if there is actually an overlay. This will
give a chance to handlers with lower priority to eventually run.
@ionitron-bot ionitron-bot bot added the package: core @ionic/core package label Sep 16, 2018
@ptitjes
Copy link
Contributor Author

ptitjes commented Sep 21, 2018

@manucorporat Would you mind to review this PR before next release ?

@manucorporat manucorporat merged commit b2b5d93 into ionic-team:master Sep 24, 2018
@manucorporat
Copy link
Contributor

Thanks a lot for the PR!

@ptitjes
Copy link
Contributor Author

ptitjes commented Sep 24, 2018

Thanks to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants