mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(transition): make sure hidden is removed
This commit is contained in:
@@ -56,6 +56,7 @@ export function setPageHidden(el: HTMLElement, hidden: boolean) {
|
||||
el.setAttribute('aria-hidden', 'true');
|
||||
el.classList.add('ion-page-hidden');
|
||||
} else {
|
||||
el.hidden = false;
|
||||
el.removeAttribute('aria-hidden');
|
||||
el.classList.remove('ion-page-hidden');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user