Make scrolling easier on mobile (#67)

This commit is contained in:
Timothy Armes
2023-07-05 22:00:25 +02:00
parent 052b90ca6e
commit 5b79282f5b
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@ export default function TournamentTable() {
const tournamentRow = document.getElementById(
debouncedHoveredMapTournamentId
);
tournamentRow?.scrollIntoView({ behavior: "smooth" });
}, [debouncedHoveredMapTournamentId]);