Skip to content

Commit

Permalink
fix disappearing tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
wouter-willems committed Jul 2, 2024
1 parent 15e6820 commit ebfa0f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion projects/demo/src/app/demo/demo.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
</div>
</div>

<div class="smallText" klpWithTooltip="black">I am a small piece of text</div>
<klp-form-button klpWithTooltip="black" tooltipText="Shalalalalala">
I am a small piece of text
</klp-form-button>

<div>
<klp-form-element caption="radioButtons classic" spaceDistribution="34-66" verticalAlignment="top">
Expand Down
2 changes: 1 addition & 1 deletion projects/klippa/ngx-enhancy-forms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@klippa/ngx-enhancy-forms",
"version": "14.20.4",
"version": "14.20.5",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class WithTooltipDirective {
el.nativeElement.prepend(this.triangleWhite);
});

el.nativeElement.addEventListener('mouseout', () => {
el.nativeElement.addEventListener('mouseleave', () => {
try {
el.nativeElement.removeChild(this.div);
} catch (ex) {}
Expand Down

0 comments on commit ebfa0f2

Please sign in to comment.