Skip to content

Commit a3b427c

Browse files
authored
Merge pull request #79 from itk-dev/feature/fix-route-page-scroll-overflow
Fix route page scroll overflow and iOS marker rendering
2 parents d4fb160 + e80ef0f commit a3b427c

4 files changed

Lines changed: 8 additions & 28 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
- Update build and styling tooling (Tailwind CSS v4, `@vitejs/plugin-react` v5, removed PostCSS/autoprefixer)
1111
- Fix iOS Safari geolocation re-prompting on every page reload (use `watchPosition`, guard `permissions.query`)
1212
- Security and dependency updates (8 vulnerabilities fixed, ESLint v9, React/Prettier updated)
13+
- Fix "you are here" marker not visible on iOS Safari (corrupted SVG)
14+
- Fix route page content not scrollable when overflowing viewport
1315

1416
## [1.0.8] - 2025-28-01
1517

src/App.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ function App() {
6363
useEffect(() => {
6464
const watchId = navigator.geolocation.watchPosition(
6565
(position) => {
66+
setInfo(false);
67+
setInfoText("");
6668
setLat(position.coords.latitude);
6769
setLong(position.coords.longitude);
6870
},

src/components/routes/RoutePage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function RoutePage() {
4949

5050
return (
5151
<>
52-
<div className="p-5 absolute left-0 top-0 right-0 bottom-0 flex flex-col justify-between">
52+
<div className="p-5 absolute left-0 top-0 right-0 bottom-0 flex flex-col justify-between overflow-y-auto">
5353
<div>
5454
<TagList classes="relative text-lg" tags={tags} />
5555
<h1 className="text-4xl font-extrabold relative word-break">{title}</h1>

src/icons/you-are-here-icon.svg

Lines changed: 3 additions & 27 deletions
Loading

0 commit comments

Comments
 (0)