Fix filter button autofocuses

pull/5424/head
Kamran Ahmed 8 months ago
parent fd48e980cd
commit 4988ba0604
  1. 2
      src/components/Roadmaps/RoadmapsPage.tsx

@ -394,7 +394,7 @@ export function RoadmapsPage() {
useEffect(() => {
if (!isFilterOpen) {
document?.getElementById('filter-button')?.focus();
document?.getElementById('filter-button')?.bringIntoView();
}
}, [isFilterOpen]);

Loading…
Cancel
Save