We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2530c39 commit e9cb118Copy full SHA for e9cb118
src/ui-persistent-bottomsheet/index.ts
@@ -269,8 +269,16 @@ export class PersistentBottomSheet extends AbsoluteLayout {
269
this.scrollView = null;
270
}
271
272
-
+ addChild(child) {
273
+ if (child === this.bottomSheet) {
274
+ return;
275
+ }
276
+ super.addChild(child);
277
278
_onBottomSheetChanged(oldValue: View, newValue: View) {
279
+ if (oldValue === newValue) {
280
281
282
if (oldValue) {
283
this.removeChild(oldValue);
284
0 commit comments