Skip to content

Commit

Permalink
fix: Don't blur menus on pointerleave.
Browse files Browse the repository at this point in the history
  • Loading branch information
gonfunko committed Jan 27, 2025
1 parent e9b7010 commit 13cf970
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,13 +396,12 @@ export class Menu {
}

/**
* Handles pointer leave events. Blur and clear highlight.
* Handles pointer leave events by clearing the active highlight.
*
* @param _e Pointer event to handle.
*/
private handlePointerLeave(_e: PointerEvent) {
if (this.getElement()) {
this.blur();
this.setHighlighted(null);
}
}
Expand Down

0 comments on commit 13cf970

Please sign in to comment.