Skip to content

fix(ui): textarea error border now correctly persists on hover#16588

Merged
JessRynkar merged 1 commit into
mainfrom
fix/textarea-error-hover-state
May 12, 2026
Merged

fix(ui): textarea error border now correctly persists on hover#16588
JessRynkar merged 1 commit into
mainfrom
fix/textarea-error-hover-state

Conversation

@PatrikKozak
Copy link
Copy Markdown
Contributor

What

Fixes the textarea field's error border being overridden by the default hover state.

Why

When a textarea field had a validation error, hovering over it would cause the default hover border style to override the error border, making the error state visually disappear on hover.

Changes

Updated the error state hover selector to &:hover:not(:focus):not(:disabled) to increase specificity and ensure the error border persists on hover.

@github-actions
Copy link
Copy Markdown
Contributor

📦 esbuild Bundle Analysis for payload

This analysis was generated by esbuild-bundle-analyzer. 🤖
This PR introduced no changes to the esbuild bundle! 🙌

@JessRynkar JessRynkar self-assigned this May 12, 2026
@JessRynkar JessRynkar merged commit d3e7d9c into main May 12, 2026
328 of 331 checks passed
@JessRynkar JessRynkar deleted the fix/textarea-error-hover-state branch May 12, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants