-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
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
[Chip] Support pressing delete to delete a chip #14978
Conversation
I'm not sure why that last test failed, looking at the log it appears that it passed and then failed to upload? I'm not familiar with how all the CI pieces work. |
Could you branch this off next please, we are keeping master for important bug fixes :) |
Changed it. It's unfortunate that we would have to update to an unstable alpha release to get such a simple improvement. |
Details of bundle changes.Comparing: f9896bc...998a822
|
@keeslinp There are two reasons behind it: n°1, we create incentives for people to upgrade from v3 to v4. n°2, it's allowing the team to improve the library at a faster pace. |
fdb4bba
to
998a822
Compare
Thanks for updating that. I think a lot of the differences were from building off next then moving to master then back to next. |
@keeslinp Yes, the core components are under an important refactorization 🚧. We are moving at 100% to the usage of hooks (no classes). We are moving at 100% to mount tests (no shallow). |
@keeslinp It's a great first pull request on Material-UI 👌🏻. Thank you for working on it! |
What happened to this? Edit: never mind I messed up, it works... I don't know why though, can't seem to find this change back in Chip.js 🚶 |
If it is a built-in feature that the chip handles the backspace key to trigger a delete event, it should probably also support the delete key. I need to handle deleting chips with the delete button, I could do it exterior to the component but I figure it would be more idiomatic to follow the existing flow.