New issue
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
feat: disabled chip #19510
Comments
This issue has been labeled as If you'd like to work on this issue, please comment here letting us know that you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort. For a guide on how to create a pull request and test this project locally to see your changes, see our contributing documentation. Thank you! |
Working on a pull request. |
@br1ghtt did you see the https://material.io/components/chips/ link? There's examples of the disabled chips and what they should look/behave like. |
I am in need of this as well. I am putting a "remove" icon into a chip and I want just the icon to have a button behavior, not the whole chip (ripple, cursor).
Something I don't understand as well is that in the Ionic example when clicking a chip there is no ripple effect (https://ionicframework.com/docs/api/chip), but creating a new fresh project and adding a default ion-chip will have the behavior. |
Thanks for the issue. This has been resolved via #20658, and the feature will be available in an upcoming release of Ionic Framework. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Feature Request
Ionic version:
[x] 4.x
Describe the Feature Request
Make it possible to disable chips.
Describe Preferred Solution
Add a
disabled
prop that disables the:hover
styles (background-color, cursor, ...) and ripple.Related Code
https://codepen.io/simonhaenisch/pen/bGbPzOm
Additional Context
https://material.io/components/chips/ has examples for disabled chips in various categories.
The text was updated successfully, but these errors were encountered: