Skip to content

Commit

Permalink
fix: Input should show cursor when disabled (#47280)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadCcc committed Feb 1, 2024
1 parent 7ec7ab1 commit 53b0b24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/input/style/variants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export const genDisabledStyle = (token: InputToken): CSSObject => ({
cursor: 'not-allowed',
opacity: 1,

'input[disabled]': {
cursor: 'not-allowed',
},

'&:hover:not([disabled])': {
...genHoverStyle(
mergeToken<InputToken>(token, {
Expand Down

0 comments on commit 53b0b24

Please sign in to comment.