Bug
When navigating the monster search dropdown with arrow keys, the highlight moves correctly but the list doesn't scroll to keep the highlighted item visible. If the highlighted item goes below (or above) the visible area of the dropdown, the user can't see which monster is selected.
Steps to reproduce
- Type a letter that returns many results (e.g., "a")
- Press ArrowDown repeatedly
- Once the highlight passes the bottom of the visible dropdown area (~240px), the selected item is no longer visible
Expected behavior
The dropdown should automatically scroll to keep the highlighted item in view as the user navigates with arrow keys.
Root cause
SearchBar.tsx updates highlightIndex on ArrowDown/ArrowUp but never calls scrollIntoView() on the highlighted list item. The dropdown has max-height: 240px and overflow-y: auto, so items beyond the visible area are scrollable but not programmatically scrolled.
Bug
When navigating the monster search dropdown with arrow keys, the highlight moves correctly but the list doesn't scroll to keep the highlighted item visible. If the highlighted item goes below (or above) the visible area of the dropdown, the user can't see which monster is selected.
Steps to reproduce
Expected behavior
The dropdown should automatically scroll to keep the highlighted item in view as the user navigates with arrow keys.
Root cause
SearchBar.tsxupdateshighlightIndexon ArrowDown/ArrowUp but never callsscrollIntoView()on the highlighted list item. The dropdown hasmax-height: 240pxandoverflow-y: auto, so items beyond the visible area are scrollable but not programmatically scrolled.