Fix phantom scrollbars: tooltips must be display:none at rest#20
Merged
Conversation
visibility:hidden boxes still occupy layout space, so every resting tip (up to 18rem wide, hanging below its host) added horizontal scrollable overflow to its scroll container - phantom left-right scrollbars in the catalog columns and content sections. - .tip is now display:none at rest: no box, no overflow, no scrollbars. Verified live: zero horizontally-overflowing elements at desktop and mobile widths, tips computed display:none. - The 400ms hover delay moves from transition-delay to an animation with a backwards fill (display:none cannot transition); keyboard focus still shows instantly. Escape-dismiss rule updated to display:none. - tip-start (catalog rows) capped to host width so a SHOWN tip cannot widen its scroll column either. 236 tests, typecheck, build green.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up that was pushed to the #19 branch after it was merged, so it needs its own PR.
visibility: hiddenboxes still occupy layout space — every resting tooltip (up to 18rem wide, hanging below its host) added horizontal scrollable overflow to its scroll container, producing phantom left-right scrollbars in the catalog columns and content sections..tipis nowdisplay: noneat rest: no box, no overflow, no scrollbars. Verified live: zero horizontally-overflowing elements at desktop and mobile widths.transition-delayto a backwards-filled animation (display: nonecannot transition); keyboard focus still shows instantly; the Escape-dismiss rule now usesdisplay: none.tip-start(catalog rows) capped to host width so even a shown tip cannot widen its scroll column.236 tests, typecheck, build green.