Bug: Native select dropdowns overlap content on mobile/tablet viewports #47
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Native select dropdowns (Sort, Order) overlap content below them when opened across most mobile and tablet viewports.
Affected pages: Pool, Charts (any page with Sort/Order selects)
Affected viewports:
NOT affected:
The native select dropdown renders on top of the content below instead of floating above it. Likely needs z-index fix or absolute positioning on the dropdown container.
mentioned in issue #44
mentioned in commit
e5b8ff22c0Fix implemented (commit
e5b8ff2)Cause: Filter panels use
.shell-panelwithbackdrop-filter, which creates a compositing/stacking context. Pool rows below useshell-panel-strong/card-neowith their own blur layers. On many mobile and tablet engines the native<select>menu is composited with the earlier panel, while following siblings paint on top, so the open picker looked wrong (overlapped / covered by content below).Change: Added
.shell-panel-native-select-host(position: relative;z-index: 20) infrontend-dapp/src/index.css, and applied it to the Pool filter bar and the Charts pair-selector panel so those hosts stack above the list content while staying below the sticky header (z-40) and bottom mobile nav (z-50).Verify: Pool (
/pool) and Charts (/charts) — open Sort, Order, and pair selects on the viewports listed in the issue./cc @brouie Could you QA on device or responsive devtools and confirm? Leaving this issue open until verified.
mentioned in commit
d0b9a7544fImplementation (mobile/tablet native select overlap)
Cause: Native
<select>menus on many mobile/tablet WebKit/Chromium builds composite in a stacking context where blurred panels and cards below can paint over the open picker (as in your report).Change: Added
MenuSelect(frontend-dapp/src/components/ui/MenuSelect.tsx) — a button-triggered listbox that reuses the same fixed-position +createPortal(..., document.body)approach andtoken-select-*styles asTokenSelect, so the menu always layers above page content (z-indexon.token-select-dropdown).Wired up: Pool page Sort/Order and Charts page Sort/Order/Select pair now use
MenuSelectinstead of native selects. Removed the temporary.shell-panel-native-select-hostz-index workaround since it is no longer needed for those controls.Verification:
npm run buildandnpm run lintpass on the frontend. Pool Playwright specs were flaky here (indexer / env), not specific to this UI.Commit:
d0b9a75onmain.@brouie Could you QA on the viewports you listed (iPhone 14 Pro Max, Galaxy family, iPad sizes) and confirm the menus no longer sit under the content below? Leaving this issue open until you sign off.
mentioned in commit
143f5325c5@brouie Please verify on your listed viewports: shared
usePortalListboxfor MenuSelect/TokenSelect (flip-above + clamp, z-index 200). Commit143f532. Leaving open until you sign off.Verified fixed on
2a09e75. New MenuSelect component replaces native select dropdowns. No overlap on mobile/tablet viewports (iPhone 14 Pro Max, Samsung Galaxy). Pool and Charts pages tested.