Skip to content

Feature detect the spacing bug - #358

Merged
jared-hughes merged 3 commits into
mainfrom
feature-detect-spacing-bug
Aug 7, 2026
Merged

Feature detect the spacing bug#358
jared-hughes merged 3 commits into
mainfrom
feature-detect-spacing-bug

Conversation

@jared-hughes

@jared-hughes jared-hughes commented Aug 6, 2026

Copy link
Copy Markdown

#357 doesn't really work because the transform causes a vertical shift in Firefox.

Instead, just detect when the spacing bug occurs, and avoid the usage of display: inline-block in that case.

That should be safe because only WebKit (Safari) has the spacing bug, and only Blink (Chrome) has the quadratic runtime when not using display: inline-block.

@jared-hughes
jared-hughes merged commit bb9974a into main Aug 7, 2026
2 checks passed
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.

2 participants