Let the mouse wheel scroll the page when it is over the filters
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s

The last change gave the filter panel overscroll-behavior: contain, to
stop a scroll inside the panel carrying on into the page. In Chromium
that rule also applies when the panel has nothing to scroll, so with the
mouse over the filters the wheel moved nothing at all and the trail
list could not be scrolled from there. Firefox, where the change was
tested, does not behave that way.

The rule is removed. Over the panel the wheel now scrolls the panel
while it has further to go, and the page otherwise. Checked in a
Chromium browser by turning the wheel over the panel at two window
heights, with "More filters" open and closed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-14 21:52:45 -07:00
1 parent 2271afac32
commit e873aab284
1 file changed
+6 -2
+6 -2
View File
@@ -813,13 +813,17 @@ body:has(.hero--home) .site-header .wordmark { visibility: hidden; }
/* Beside the list, the filters stay on screen while the list scrolls. The panel
is never taller than the window: when its fields do not fit (a short window,
or "More filters" opened) it scrolls on its own, so every filter can be
reached from anywhere in the list. Its reset button stays at its foot. */
reached from anywhere in the list. Its reset button stays at its foot.
The wheel must always move something: over the panel it scrolls the panel
while the panel has further to go, and the page otherwise. So no
overscroll-behavior here: in Chromium it stops the wheel reaching the page
even when the panel has nothing to scroll. */
@media (min-width: 64rem) {
.filters {
position: sticky; inset-block-start: var(--space-4); align-self: start;
max-block-size: calc(100vh - 2 * var(--space-4));
max-block-size: calc(100dvh - 2 * var(--space-4));
overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
overflow-y: auto; scrollbar-width: thin;
}
.filters .filters__reset {
position: sticky; inset-block-end: 0; z-index: 1;