#260: static button width during copy feedback (fix attempt 1) #268

Merged
fen merged 2 commits from fix-260 into dev 2026-09-17 22:07:45 +00:00
Collaborator

Follow-up to #262. Owner: buttons still jump because the Success feedback text swap changes the button width.

Fix: pin the button min-width to its pre-swap rendered width when feedback starts and keep/release it on restore (new.js result-copy button, paste.js copyFeedback for Copy/Link). Button size is now static across the click; the checkmark swap no longer shifts the neighboring Link button or other elements.

Verified locally: CDP probe on a test paste — Copy button width 76.4px before click, 77px during checkmark, Link button x-position identical (422.3px) throughout; label restores to Copy after 2s.

Ref #260

Follow-up to #262. Owner: buttons still jump because the Success feedback text swap changes the button width. Fix: pin the button min-width to its pre-swap rendered width when feedback starts and keep/release it on restore (new.js result-copy button, paste.js copyFeedback for Copy/Link). Button size is now static across the click; the checkmark swap no longer shifts the neighboring Link button or other elements. Verified locally: CDP probe on a test paste — Copy button width 76.4px before click, 77px during checkmark, Link button x-position identical (422.3px) throughout; label restores to Copy after 2s. Ref #260
fen added 1 commit 2026-09-17 19:47:45 +00:00
#260: pin button width during copy feedback so neighbors never jump
CI / docker (pull_request) Skipped
CI / test (pull_request) Successful in 22s
11cf7428eb
fen added 1 commit 2026-09-17 22:06:44 +00:00
Merge origin/dev into fix-260 for QA
CI / docker (pull_request) Skipped
CI / test (pull_request) Successful in 23s
b2fd5d548d
fen merged commit 2a55f50d87 into dev 2026-09-17 22:07:45 +00:00
Sign in to join this conversation.