aforemny / elm-mdc

Elm port of the Material Components for the Web CSS/JS library
https://aforemny.github.io/elm-mdc
Apache License 2.0
354 stars 43 forks source link

Choice chip background highlight does not turn off when selecting a new chip #221

Closed mkreisel closed 5 years ago

mkreisel commented 5 years ago

When a chip is selected, the background becomes highlighted. This background highlight should fade when another click happens on the page. However this does not happen, and chip backgrounds can remain highlighted as other chips are selected. Below is a gif illustrating the problem taken from the elm-mdc demo running on Chrome Version 75.0.3770.80 (Official Build) (64-bit) on Ubuntu 18.04.

mdc_chip_bug

aforemny commented 5 years ago

As with #220 I cannot reproduce the observed behavior in Chrome Version 75.0.3770.80 (64-bit) on Linux. Let's figure out #220 first, since I think both issues are of the same underlying problem.

SidneyNemzer commented 5 years ago

Similarly to #219, I can reproduce this by 'tapping' my laptop's trackpad rather than 'clicking'.

aforemny commented 5 years ago

I am closing this because I am assuming this has been fixed in #219. If the issue persists, please re-open. Thank you both for the report and assistance in solving this!