mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
fix(react): remove hardware back button event listener when NavManager is unmounted (#23224)
resolves #23170
This commit is contained in:
@ -123,3 +123,7 @@ Cypress.Commands.add('ionMenuClick', () => {
|
||||
// .click()
|
||||
// cy.get('ion-menu.show-menu').should('exist');
|
||||
});
|
||||
|
||||
Cypress.Commands.add('ionHardwareBackEvent', () => {
|
||||
cy.document().trigger('backbutton');
|
||||
});
|
Reference in New Issue
Block a user