Skip to content

refactor: remove dead no-scrollbars styles from grid#11983

Merged
web-padawan merged 1 commit into
mainfrom
chore/remove-dead-grid-firefox-detection
Jun 26, 2026
Merged

refactor: remove dead no-scrollbars styles from grid#11983
web-padawan merged 1 commit into
mainfrom
chore/remove-dead-grid-firefox-detection

Conversation

@vursen

@vursen vursen commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

The PR removes the [no-scrollbars] CSS rule because this attribute isn't set from anywhere. According to Claude, it's a leftover from the old outer-scroller architecture which was abandoned a long time ago.

@vursen vursen changed the title chore: remove dead Firefox detection from grid refactor: remove dead Firefox detection from grid Jun 26, 2026
The no-scrollbars scrollbar-hiding rule dates back to the old outer-scroller
architecture. The `no-scrollbars` attribute it depends on is no longer set on
the scroller, so the `[no-scrollbars][safari]` / `[firefox]` rules in the base
and Lumo styles never match. The `firefox` attribute was dropped even earlier,
and the `_firefox` property lost its last reader in #6673, leaving the property
and its isFirefox import dead too.

Remove the dead rules, the _firefox property, and the unused isFirefox import.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vursen vursen force-pushed the chore/remove-dead-grid-firefox-detection branch from 4af5fe7 to 42297a1 Compare June 26, 2026 05:39
@vursen vursen changed the title refactor: remove dead Firefox detection from grid chore: remove dead no-scrollbars styles and Firefox detection from grid Jun 26, 2026
@vursen vursen changed the title chore: remove dead no-scrollbars styles and Firefox detection from grid chore: remove dead no-scrollbars styles from grid Jun 26, 2026
@vursen vursen changed the title chore: remove dead no-scrollbars styles from grid refactor: remove dead no-scrollbars styles from grid Jun 26, 2026
},

/** @private */
_firefox: {

@vursen vursen Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The _firefox property isn't read from anywhere and actually stopped being reflected as an attribute a long time ago, so it can also be removed.

@vursen vursen requested a review from web-padawan June 26, 2026 05:52
@web-padawan web-padawan merged commit 1d7eff1 into main Jun 26, 2026
10 checks passed
@web-padawan web-padawan deleted the chore/remove-dead-grid-firefox-detection branch June 26, 2026 07:55
@sonarqubecloud

Copy link
Copy Markdown

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