@m3e/tooltip 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/src/TooltipElementBase.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -913,7 +913,6 @@ class TooltipElementBase extends HtmlFor(LitElement) {
|
|
|
913
913
|
async show() {
|
|
914
914
|
if (!this.control || this.disabled || isDisabledMixin(this.control) && this.control.disabled) return;
|
|
915
915
|
_a.__openTooltips.filter(x => x !== this).forEach(x => x.hide());
|
|
916
|
-
this._base.showPopover();
|
|
917
916
|
__classPrivateFieldSet(this, _TooltipElementBase_anchorCleanup, await positionAnchor(this._base, this.control, {
|
|
918
917
|
position: this._anchorPosition,
|
|
919
918
|
inline: true,
|
|
@@ -921,6 +920,7 @@ class TooltipElementBase extends HtmlFor(LitElement) {
|
|
|
921
920
|
shift: true,
|
|
922
921
|
offset: TOOLTIP_OFFSET
|
|
923
922
|
}, (x, y) => this._updatePosition(this._base, x, y)), "f");
|
|
923
|
+
this._base.showPopover();
|
|
924
924
|
if (!_a.__openTooltips.includes(this)) {
|
|
925
925
|
_a.__openTooltips.push(this);
|
|
926
926
|
}
|