Skip to content

Commit

Permalink
fix: When hovering Drill By the dashboard is scrolled to the top (#30073
Browse files Browse the repository at this point in the history
)
  • Loading branch information
michael-s-molina committed Aug 30, 2024
1 parent 103cd3d commit 548d543
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const DrillByMenuItems = ({

useEffect(() => {
if (open) {
ref.current?.input.focus();
ref.current?.input.focus({ preventScroll: true });
} else {
// Reset search input when menu is closed
ref.current?.setValue('');
Expand Down

0 comments on commit 548d543

Please sign in to comment.