Skip to content

Commit ae9ce28

Browse files
committed
fix(angular): fix for main content not showing
1 parent 3dc820a commit ae9ce28

File tree

1 file changed

+4
-0
lines changed
  • src/ui-persistent-bottomsheet/angular

1 file changed

+4
-0
lines changed

src/ui-persistent-bottomsheet/angular/module.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ const sbsMeta: ViewClassMeta = {
9898

9999
if (childView.id === BOTTOMSHEET) {
100100
pbs.bottomSheet = childView;
101+
} else {
102+
pbs.addChild(childView);
101103
}
102104
},
103105
removeChild: (parent: NgView, child: NgView) => {
@@ -106,6 +108,8 @@ const sbsMeta: ViewClassMeta = {
106108

107109
if (childView.id === BOTTOMSHEET) {
108110
pbs.bottomSheet = null;
111+
} else {
112+
pbs.removeChild(childView);
109113
}
110114
}
111115
};

0 commit comments

Comments
 (0)