Skip to content

fix: prevent tooltips from being scrollable#162

Open
djanhjo wants to merge 1 commit into
developfrom
dan.ho_tooltip-scroll
Open

fix: prevent tooltips from being scrollable#162
djanhjo wants to merge 1 commit into
developfrom
dan.ho_tooltip-scroll

Conversation

@djanhjo

@djanhjo djanhjo commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Prevent tooltips from being scrollable, since they should be sized to whatever content they have. Also initialize with height: 0 to prevent initial load of empty scrollable space.


Note

Low Risk
Small tooltip markup/CSS change with no auth, data, or API impact; height is still set by existing resize logic.

Overview
Tooltip iframes were showing scrollbars and reserving empty scrollable area before content sized them.

The tooltip template now sets .gist-tooltip-frame to height: 0 until resizeTooltipComponent applies the content height (existing height transition unchanged), and adds scrolling="no" on the tooltip iframe so it does not scroll independently of the sized content.

Reviewed by Cursor Bugbot for commit 9cc7790. Bugbot is set up for automated code reviews on this repo. Configure here.

@djanhjo djanhjo requested a review from a team as a code owner June 17, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant