Skip to content

Fix filter panel requiring multiple taps to collapse/expand#76

Draft
Copilot wants to merge 1 commit intomainfrom
copilot/fix-filters-panel-collapse
Draft

Fix filter panel requiring multiple taps to collapse/expand#76
Copilot wants to merge 1 commit intomainfrom
copilot/fix-filters-panel-collapse

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 5, 2026

The open <summary> had margin: 0 -10px -10px, pulling the first <p> sibling 10px upward so it overlapped and painted over the bottom 10px of the summary's hit area. Taps in that zone landed on the <p> rather than the <summary>, silently swallowing the toggle.

Changes

  • style.css — added to the #controls details summary rule:
    • position: relative; z-index: 1 — ensures the summary wins hit-testing over overlapping siblings without altering layout
    • touch-action: manipulation — eliminates the 300 ms double-tap delay on mobile so every tap fires immediately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants