Skip to content

fix(#2981): Updated read only styling for Input and DatePicker - #4229

Open
ArakTaiRoth wants to merge 1 commit into
devfrom
dustin/2981
Open

fix(#2981): Updated read only styling for Input and DatePicker#4229
ArakTaiRoth wants to merge 1 commit into
devfrom
dustin/2981

Conversation

@ArakTaiRoth

Copy link
Copy Markdown
Collaborator

Before (the change)

Input read-only state was incorrectly providing a border on hover and on focus. This was happening because it was assumed it had to happen to allow Date Picker to continue to have a border (it uses input read-only state to function).

After (the change)

The CSS targeting box-shadow for Input's read-only stated was corrected, which wasn't written correctly first off and incorrectly didn't target hover and focus modes. The CSS for Date Picker was expanded to target focus and hover modes specifically instead.

Make sure that you've checked the boxes below before you submit the PR

  • I have read and followed the setup steps
  • I have created necessary unit tests
  • I have tested the functionality in both React and Angular.

Steps needed to test

You can test using the docs PRs for both Date Picker and Input, there's a Read Only state for Input in there.

@ArakTaiRoth
ArakTaiRoth requested a review from twjeffery August 14, 2026 20:36
@ArakTaiRoth ArakTaiRoth linked an issue Aug 14, 2026 that may be closed by this pull request
@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://GovAlta.github.io/ui-components/pr-preview-angular/pr-4229/

Built to branch gh-pages at 2026-08-14 20:40 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions

Copy link
Copy Markdown

Preview links

Target URL
Docs https://govalta.github.io/ui-components/pr-preview/pr-4229/
React playground https://govalta.github.io/ui-components/pr-preview-react/pr-4229/
Angular playground https://govalta.github.io/ui-components/pr-preview-angular/pr-4229/

Built from commit 0f50ad9. Previews are removed automatically when this PR closes.

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.

No border on hover

1 participant