amaximus / garbage-collection-card

Custom Lovelace card for Garbage Collection custom component
MIT License
128 stars 24 forks source link

Icons randomly flicker #37

Closed Woodcat64 closed 4 years ago

Woodcat64 commented 4 years ago

This happens in HA .110 and later, Firefox (Windows 10, Linux and Android). No flicker in Chrome or Official Android app

amaximus commented 4 years ago

The card uses standard ha-icon object with svg icons from Material Design Icons set. It doesn't do anything else apart from displaying it with a custom color and size. I presume this is more like a browser related issue.

Woodcat64 commented 4 years ago

You most likely right. Strange thing is that there is no MDI icons flicker in other lovelace cards. I will wait to see if FF or HA update will fix this. Thanks ps. Just adding error form FF developer tool

InvalidStateError: XMLHttpRequest has an invalid context. Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/