Skip to content

Keep Search button clear of mobile filter links - #313

Merged
TMHSDigital merged 1 commit into
TMHSDigital:mainfrom
stefzt:fix/mobile-search-button
Nov 19, 2026
Merged

TMHSDigital merged 1 commit into
TMHSDigital:mainfrom
stefzt:fix/mobile-search-button

Conversation

@stefzt

@stefzt stefzt commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Fixes #312

The Search button now hides while search or filters are on screen, so it doesn't cover the links on mobile. It comes back after scrolling past the filters.

Checked at 390×844 and 1280×800, including returning to search and opening/closing the filters. npm run check passes.

Type

  • Docs or site

Checklist

  • npm test && npm run validate passes locally (the full npm run check also passes).
  • I dedicate this contribution to the public domain under CC0 1.0.

The catalog, stack, and licence checks don't apply here. Only the button visibility changed.

@stefzt
stefzt requested a review from TMHSDigital as a code owner November 18, 2026 20:57
@github-actions github-actions Bot added the site Site build, scripts and checks label Nov 18, 2026
@TMHSDigital

Copy link
Copy Markdown
Owner

Thanks, Steph, this is a clean fix for #312.

Checked locally with this branch applied (npm run check passes, and CI is green):

  • 390×844: with the filters open, the button stays hidden while any part of the panel is on screen, including when the Copy link and Download links sit at the bottom edge. It comes back once the panel scrolls off, and after a tap it hides again on arrival.
  • 1280×800: in the catalog the docked search bar is always on screen, so the button no longer shows there. Below the catalog it shows again. Search is already visible there, so I'm fine with that change.

Merging now.

@TMHSDigital
TMHSDigital merged commit b6e8108 into TMHSDigital:main Nov 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

site Site build, scripts and checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Floating "Search" button covers the filter panel's links on phones

2 participants