8000
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 9e472d7 commit 84e1a67Copy full SHA for 84e1a67
packages/core/ui/core/view/view-common.ts
@@ -419,7 +419,7 @@ export abstract class ViewCommon extends ViewBase implements ViewDefinition {
419
this._closeModalCallback = (...originalArgs) => {
420
const cleanupModalViews = () => {
421
const modalIndex = _rootModalViews.indexOf(this);
422
- _rootModalViews.splice(modalIndex);
+ _rootModalViews.splice(modalIndex, 1);
423
this._modalParent = null;
424
this._modalContext = null;
425
this._closeModalCallback = null;
0 commit comments