fix(frontend): mobile flashes and layout shift on token selection #498
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#498
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?
Summary
On mobile, opening/changing token selection causes annoying visual flashes and UI elements jumping / moving places (layout shift). The interaction feels unstable and distracting.
Expected
Actual
Likely context
Swap/Trade pay & receive use
TokenSearchSelect(#481); Mint still usesTokenSelect. Suspect causes include:Acceptance criteria
TokenSelectif it shows the same issue.How to reproduce
mentioned in merge request !1036
mentioned in commit
36ee47d0c4Implemented on MR !1036 (
fix/498-mobile-token-select-cls).Root cause:
TokenSearchSelectunmounted the leading logo and dropped left padding when opening, which flashed/shifted the trigger on mobile.Fix: keep logo +
.token-select-trigger--with-leading-logowhile open; keep selected label until edit (queryDraft); docs/skills + unit + Playwright CLS coverage.mentioned in commit
b3e11cbb47mentioned in issue #542
mentioned in issue #562
mentioned in issue #630
mentioned in issue #632
marked as related to #632
mentioned in merge request !1144
mentioned in issue #711