diff --git a/frontend/src/components/floating-menus/MenuList.svelte b/frontend/src/components/floating-menus/MenuList.svelte index 09dcb5664c..1d90d9cbe3 100644 --- a/frontend/src/components/floating-menus/MenuList.svelte +++ b/frontend/src/components/floating-menus/MenuList.svelte @@ -416,11 +416,6 @@ export function setHighlighted(newHighlight: MenuListEntry | undefined) { highlighted = newHighlight; - // Interactive menus should keep the active entry the same as the highlighted one - // if (interactive && newHighlight?.value !== activeEntry?.value && newHighlight) { - // dispatch("activeEntry", newHighlight); - // } - // Scroll into view let container = scroller?.div?.(); if (!container || !highlighted) return; diff --git a/frontend/src/components/widgets/inputs/DropdownInput.svelte b/frontend/src/components/widgets/inputs/DropdownInput.svelte index 7919df1a34..cb9d327787 100644 --- a/frontend/src/components/widgets/inputs/DropdownInput.svelte +++ b/frontend/src/components/widgets/inputs/DropdownInput.svelte @@ -74,7 +74,6 @@ if (activeEntrySkipWatcher) { activeEntrySkipWatcher = false; } else if (activeEntry !== DASH_ENTRY) { - // We need to set to the initial value first to track a right history step, as if we hover in initial selection. if (initialSelectedIndex !== undefined) dispatch("hoverInEntry", initialSelectedIndex); const index = entries.flat().findIndex((entry) => entry.value === activeEntry.value); if (index !== -1) {