Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,10 @@ export class StackController {
enteringEl.classList.add('ion-page');
enteringEl.classList.add('ion-page-invisible');

if ((containerEl as any).commit) {
// containerEl is set to undefined when the stack controller is destroyed,
// so a transition that resolves after its outlet was destroyed must not
// dereference it (see destroy()).
if ((containerEl as any)?.commit) {
return containerEl.commit(enteringEl, leavingEl, {
duration: direction === undefined ? 0 : undefined,
direction,
Expand Down
Loading