material-web/chips
Elizabeth Mitchell 5dc870bfe1 fix(chips): filter's click.preventDefault() not working when also updating selected
Fixes #5199

This bug appeared when calling prevent default as well as changing the state of the chip in the same listener. Now calling preventDefault will always revert to the previous value.

PiperOrigin-RevId: 595199149
2024-01-02 13:41:33 -08:00
..
demo chore: format files with prettier 2023-10-25 11:59:00 -07:00
internal fix(chips): filter's click.preventDefault() not working when also updating selected 2024-01-02 13:41:33 -08:00
_assist-chip.scss fix(chips)!: rename "lib" directory to "internal" 2023-07-21 14:02:06 -07:00
_filter-chip.scss fix(chips)!: rename "lib" directory to "internal" 2023-07-21 14:02:06 -07:00
_input-chip.scss fix(chips)!: rename "lib" directory to "internal" 2023-07-21 14:02:06 -07:00
_suggestion-chip.scss fix(chips)!: rename "lib" directory to "internal" 2023-07-21 14:02:06 -07:00
assist-chip_test.ts test(chips): add token tests for assist and suggestion chips 2023-03-22 13:10:35 -07:00
assist-chip.ts chore(chips): move forced-colors into main stylesheet 2023-08-18 13:05:05 -07:00
chip-set.ts fix(chips)!: rename "lib" directory to "internal" 2023-07-21 14:02:06 -07:00
filter-chip_test.ts test(chip): refactor tests 2023-06-16 11:29:47 -07:00
filter-chip.ts chore: format files with prettier 2023-10-25 11:59:00 -07:00
harness.ts chore: format files with prettier 2023-10-25 11:59:00 -07:00
input-chip_test.ts feat(chips): add input chips 2023-05-09 16:25:13 -07:00
input-chip.ts chore: format files with prettier 2023-10-25 11:59:00 -07:00
suggestion-chip_test.ts test(chips): add token tests for assist and suggestion chips 2023-03-22 13:10:35 -07:00
suggestion-chip.ts chore(chips): move forced-colors into main stylesheet 2023-08-18 13:05:05 -07:00