We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse cursor won't change when moving over a component that is disabled.
The components that have disabled-attribute should have the cursor: not-allowed; in the disabled-style.
disabled
cursor: not-allowed;
cursor - CSS: Cascading Style Sheets | MDN - Mozilla
The text was updated successfully, but these errors were encountered:
Create src/components/utils/css.ts-file and disabledCursor -util/mixin there with css (from styled components).
src/components/utils/css.ts
disabledCursor
css
Use that mixin to src/components where disabled is used with:
src/components
styled((props: ...) => ( ..... ))` &.componentfoobar--disabled { ${disabledCursor} } `;
Sorry, something went wrong.
ketsappi
No branches or pull requests
The Problem
Mouse cursor won't change when moving over a component that is disabled.
Proposed Solution
The components that have
disabled
-attribute should have thecursor: not-allowed;
in the disabled-style.Of the existing components, the following should have this
These components currently haven't the
disabled
-attribute, but if it is added; then these should also have the changeAdditional Info
cursor - CSS: Cascading Style Sheets | MDN - Mozilla
The text was updated successfully, but these errors were encountered: