diff --git a/frontend/src/components/map/Sidebar.tsx b/frontend/src/components/map/Sidebar.tsx index bdf8d1be..a4ce09d5 100644 --- a/frontend/src/components/map/Sidebar.tsx +++ b/frontend/src/components/map/Sidebar.tsx @@ -62,6 +62,9 @@ export const Sidebar: React.FC = ({ { // 🐸 Små grodorna hop — bounce the whole layout and send frogs // leaping up the screen. Replaces the old rickroll. + // Ignore rapid re-clicks while a hop is already in flight so the + // frog layers and their cleanup timers don't stack. + if (document.querySelector('.ms-hop-frogs')) return; const layout = document.querySelector('.ml-layout') as HTMLElement | null; if (layout) { layout.classList.remove('ms-hop');