Skip to content

Commit

Permalink
fix: fix error update of dom tooltip when update theme, fix #3619
Browse files Browse the repository at this point in the history
  • Loading branch information
xile611 committed Jan 3, 2025
1 parent 5bdd595 commit 199ced0
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,14 @@ export class DomTooltipHandler extends BaseTooltipHandler {
reInit() {
super.reInit();
this._initStyle();
if (this._rootDom) {
setStyleToDom(this._rootDom, this._domStyle.panel);
}

if (this.getVisibility()) {
this._updateDomStringByCol(this._tooltipActual);
this._updateDomStyle('height');
}
}

protected _updatePosition({ x, y }: ITooltipPositionActual) {
Expand Down

0 comments on commit 199ced0

Please sign in to comment.