Skip to content

Commit

Permalink
fix(ld-tooltip): remove stopPropagation for mouse events on triggerTy…
Browse files Browse the repository at this point in the history
…pe hover
  • Loading branch information
renet authored and borisdiakur committed Apr 13, 2022
1 parent 19bb0d6 commit d9ec6f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/liquid/components/ld-tooltip/ld-tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,8 @@ export class LdTooltip {
}
}

private handleToggleTrigger = (event: MouseEvent) => {
private handleToggleTrigger = () => {
if (this.triggerType === 'hover' || this.disabled) {
event.stopPropagation()
return
}

Expand Down

0 comments on commit d9ec6f4

Please sign in to comment.