From 12577303c628ece34528477a7427667ce5114d8c Mon Sep 17 00:00:00 2001 From: Charles Fries Date: Mon, 27 Nov 2023 10:18:55 -0800 Subject: [PATCH] Temporarily fix tooltip dispose, 0.0.39 --- addon/modifiers/tooltip.ts | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addon/modifiers/tooltip.ts b/addon/modifiers/tooltip.ts index d58820b..e4e6c15 100644 --- a/addon/modifiers/tooltip.ts +++ b/addon/modifiers/tooltip.ts @@ -48,7 +48,7 @@ const tooltip = modifier(function tooltip( element.removeEventListener('hidden.bs.tooltip', onHidden); } - tooltip.dispose(); + setTimeout(() => tooltip.dispose(), 100); // TODO: https://github.com/twbs/bootstrap/issues/37474 }; }); diff --git a/package-lock.json b/package-lock.json index f683574..cee9203 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ember-simple-bootstrap", - "version": "0.0.38", + "version": "0.0.39", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ember-simple-bootstrap", - "version": "0.0.38", + "version": "0.0.39", "license": "MIT", "dependencies": { "@ember/render-modifiers": "^2.0.4", diff --git a/package.json b/package.json index 02bd0a9..6df4572 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ember-simple-bootstrap", - "version": "0.0.38", + "version": "0.0.39", "description": "The default blueprint for ember-cli addons.", "keywords": [ "ember-addon"