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 05de342 commit 27878f5Copy full SHA for 27878f5
src/bottomsheet/bottomsheet-common.ts
@@ -81,7 +81,7 @@ export abstract class ViewWithBottomSheetBase extends View {
81
}
82
const _rootModalViews = this._getRootModalViews();
83
const modalIndex = _rootModalViews.indexOf(this);
84
- _rootModalViews.splice(modalIndex);
+ _rootModalViews.splice(modalIndex, 1);
85
86
this._isAddedToNativeVisualTree = false;
87
this._tearDownUI(true);
0 commit comments