Skip to content

Commit

Permalink
fix: explicit mouse move event user action
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrantgupta25 committed Nov 27, 2024
1 parent 6aee991 commit efa5795
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ export default function LogsFormatOptionsMenu({

initialMouseEnterRef.current = true;
}}
onMouseMove={(): void => {
// this is added to handle the mouse move explicit event and not the re-rendered on mouse enter event
setSelectedValue(value as string | null);
}}
onClick={(eve): void => {
eve.stopPropagation();

Expand Down

0 comments on commit efa5795

Please sign in to comment.