Skip to content

Commit

Permalink
Merge pull request #233 from govindsartaj/hover-disable-cursor
Browse files Browse the repository at this point in the history
Show "not-allowed" cursor on hover for disabled select input/disabled options [accessibility]
  • Loading branch information
tbleckert authored May 8, 2022
2 parents a050622 + a8f4e46 commit a42a84f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@
color: #fff;
}

.select-search__option:disabled {
cursor: not-allowed;
}

/**
* Group
*/
Expand All @@ -150,6 +154,10 @@
cursor: pointer;
}

.select-search.is-disabled .select-search__input:hover {
cursor: not-allowed;
}

/**
* Modifiers
*/
Expand Down

1 comment on commit a42a84f

@vercel
Copy link

@vercel vercel bot commented on a42a84f May 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.