fix(xychart): set explicit SVG size on Tooltip glyph to prevent browser default 300x150 (#2027) - #2028
Open
aphage wants to merge 1 commit into
Open
fix(xychart): set explicit SVG size on Tooltip glyph to prevent browser default 300x150 (#2027)#2028aphage wants to merge 1 commit into
aphage wants to merge 1 commit into
Conversation
fix(xychart): set explicit SVG size on Tooltip glyph to prevent browser default 300x150 (airbnb#2027) The SVG wrapper for tooltip glyphs had no explicit width/height, causing browsers to render it at the default 300px x 150px size. This could push tooltip positioning off. Setting width and height to 0.5rem (8px x 8px) matches the glyph circle size (r=4) while overflow="visible" ensures the content is not clipped. Co-Authored-By: Claude <noreply@anthropic.com> @
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.
@
fix(xychart): set explicit SVG size on Tooltip glyph to prevent browser default 300x150 (#2027)
The SVG wrapper for tooltip glyphs had no explicit width/height, causing browsers to render it at the default 300px x 150px size. This could push tooltip positioning off. Setting width and height to 0.5rem (8px x 8px) matches the glyph circle size (r=4) while overflow="visible" ensures the content is not clipped.
Co-Authored-By: Claude noreply@anthropic.com
@
馃挜 Breaking Changes
馃殌 Enhancements
馃摑 Documentation
馃悰 Bug Fix
#2027
馃彔 Internal