Filter panel on mobile uses drawer/modal, not always-visible sidebar
Why it matters
A persistent sidebar that consumes 40% of a 320px mobile viewport leaves roughly 190px for result cards — too narrow to show an image, name, category, and rating without wrapping badly. Users end up scrolling a cramped single-column list through a filter rail they aren't actively using, and the directory feels like a desktop site squeezed onto a phone. A drawer or modal pattern reclaims the full viewport for results and gates filter interaction behind an explicit tap.
Severity rationale
Low because the result set is still reachable, but cramped layouts measurably reduce card scanability and mobile engagement depth.
Remediation
Use a CSS transform drawer that slides the filter panel off-screen on mobile and toggles open with a dedicated Filters button. On md: breakpoints and above, render the same panel as a persistent sidebar. Edit components/DirectoryPage.tsx:
<aside className={`fixed inset-0 md:static md:w-64 transform transition-transform ${
filtersOpen ? 'translate-x-0' : '-translate-x-full md:translate-x-0'
}`}>
<FilterPanel />
</aside>
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Search & Discovery UX Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
Taxons
History
- 2026-04-18·v1.0.0·Initial import from directory-search-discovery·automated