Skip to content

Commit

Permalink
Disabled InputWithDecorations.Input gets cursor: not-allowed (#2347)
Browse files Browse the repository at this point in the history
  • Loading branch information
r100-stack authored Nov 19, 2024
1 parent 0d9927f commit fd0bfe1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/red-singers-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@itwin/itwinui-css': patch
---

`input` and `textarea` inside `.iui-input-flex-container` now properly get `cursor: not-allowed` when disabled.
5 changes: 5 additions & 0 deletions .changeset/shiny-glasses-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@itwin/itwinui-react': patch
---

`InputWithDecorations.Input` now properly gets `cursor: not-allowed` when disabled.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@

&:disabled {
color: var(--iui-color-text-disabled);
cursor: not-allowed;
}
}

Expand Down

0 comments on commit fd0bfe1

Please sign in to comment.