fix: When hovering Drill By the dashboard is scrolled to the top (#30073)
This commit is contained in:
parent
103cd3d6f3
commit
548d543efe
|
|
@ -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('');
|
||||
|
|
|
|||
Loading…
Reference in New Issue