UI: Header dropdown menus clip on constrained viewports #195
Labels
No Label
P0
P1
P2
P3
accessibility
backend
bug
content
data-integrity
enhancement
frontend
infra
integration
owner
owner-input
performance
phase-7
phase-8
release-blocker
security
seo
ui
ux
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Queue-North-Website#195
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Major
Description: Desktop Services and Industries dropdowns use
absolute top-full left-0 w-64but parent nav container may clip or push the dropdown when page has padding or constrained containers.File:
src/components/layout/Header.jsxlines 71-115Fix direction: Ensure parent nav container has
overflow-visibleor position dropdowns relative to trigger element.Not a defect — measured in a real browser against the live site (v0.9.4), not reasoned about.
The claim is that the parent nav container 'may clip or push the dropdown'. It does not, and there is no ancestor that could.
Walked every ancestor of the open dropdown from its parent up to reading getComputedStyle(el).overflow. Every one is
visible. There is no clipping ancestor to fix.Then measured the dropdown geometry with the menu actually open, at the three widths where a right-edge overflow would show up first (the desktop nav appears at md = 768px, so 768 is the worst case):
The worst case is the Industries dropdown at 768px, which ends 95px clear of the right edge.
document.documentElement.scrollWidthnever exceeded the viewport width, so nothing is pushing the layout either.Closing as no change required. Note the issue's own wording — 'may clip or push' — is speculative; this is the measurement.
Verify: open the Services or Industries dropdown at a 768px viewport and read its getBoundingClientRect(); right edge is 591 and 673 respectively, against a 768px viewport, with no ancestor having overflow other than visible.