| 94 | }; |
| 95 | |
| 96 | const afterTransition = (opts: TransitionOptions) => { |
| 97 | const enteringEl = opts.enteringEl; |
| 98 | const leavingEl = opts.leavingEl; |
| 99 | enteringEl.classList.remove('ion-page-invisible'); |
| 100 | enteringEl.style.removeProperty('pointer-events'); |
| 101 | if (leavingEl !== undefined) { |
| 102 | leavingEl.classList.remove('ion-page-invisible'); |
| 103 | leavingEl.style.removeProperty('pointer-events'); |
| 104 | } |
| 105 | |
| 106 | focusController.setViewFocus(enteringEl); |
| 107 | }; |
| 108 | |
| 109 | const getAnimationBuilder = async (opts: TransitionOptions): Promise<AnimationBuilder | undefined> => { |
| 110 | if (!opts.leavingEl || !opts.animated || opts.duration === 0) { |