Skip to content

fix(ui): suppress button hover transform inside VList rows to prevent smearing#614

Draft
Just-Insane wants to merge 2 commits intoSableClient:devfrom
Just-Insane:fix/vlist-hover-transform
Draft

fix(ui): suppress button hover transform inside VList rows to prevent smearing#614
Just-Insane wants to merge 2 commits intoSableClient:devfrom
Just-Insane:fix/vlist-hover-transform

Conversation

@Just-Insane
Copy link
Copy Markdown
Contributor

Related to closed PR #598 (fix/perf-rerender-reduction), which was split into smaller focused PRs.

Description

Buttons inside VList rows were applying a CSS transform on :hover. Because VList row elements use position: relative with will-change: transform for virtualisation, the button transform was composited against the row's own transform layer, producing a visual smear — the button appeared to shift or blur while the row stayed in place.

Fix: add a scoped CSS override in General.css.ts that resets transform: none on :hover for buttons inside VList row containers.

Fixes #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings

AI disclosure:

  • Partially AI assisted (clarify which code was AI assisted and briefly explain what it does).
  • Fully AI generated (explain what all the generated code does in moderate detail).

The CSS override was partially AI assisted. I identified the smearing symptom and verified that the transform interaction between VList row layers and button hover state was the cause before applying the fix.

@Just-Insane Just-Insane requested review from 7w1 and hazre as code owners March 31, 2026 18:43
@Just-Insane Just-Insane marked this pull request as draft March 31, 2026 20:13
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