## Problem When loading recent searches fails, the "Could not load recent searches" message and Retry button can appear even when the search history dropdown is closed. The error message can also overlap other page content, including the "Browse albums" heading. Additionally, keyboard focus may be lost when the user activates Retry and the button disappears after a successful retry. ## Suggested solution - Only display the search history error message and Retry button while the dropdown is open. - Keep the error message and Retry button within the dropdown. - Ensure the error message does not overlap unrelated page content when the dropdown is closed. - Handle keyboard focus appropriately when Retry succeeds and the button disappears. - Keep broader network or album-loading failures outside the scope of this issue. ## Acceptance criteria - No search history error message or Retry button is visible when the dropdown is closed. - When the dropdown is open and loading fails, the error and Retry button are displayed inside it. - Closing the dropdown hides the error UI. - Retrying successfully does not leave keyboard focus lost or in an unexpected position. - Relevant tests cover error visibility, retry behavior and keyboard focus.