-
Notifications
You must be signed in to change notification settings - Fork 222
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
Card briefly shows incorrect state when switching views #803
Comments
Also confirmed that using |
Tested similar configuration using native HA Light cards and the issue does not appear to be present |
+1, I experience the same problem. On top of that, if I hold-tap on a button the card (actually ALL somehow related cards) stay highlighted. |
cant say I fully understand what you are describing, and the screenshot doesnt help. but I do notice you have an odd template
since this if for a boolean entity, why no simply use:
might not help, but at least its a cleaner template and you can then rule it out being the cause of your issue |
Maybe the video explains more: |
sorry, but that has nothing to do with switching views? Maybe that title does not describe the issue very well, but now I am even more confused.... all I can see are some instable buttons flickering (cant see if that happens on a click, or just always)
sorry. |
I'll do that now to mitigate the risk of hijacking this issue report. |
Checklist
Describe the bug
When switching views, cards briefly show incorrect background color when being set by entity state.
This causes flicker on dashboard views which share the same card.
Other card set properties by state to not appear to be affected.
Version of the card
Version: v4.1.1
To Reproduce
This is the configuration I used:
bugtest.yaml
bugview1.yaml
bugview2.yaml
Screenshots
Expected behavior
Background color should be set before card is rendered as to avoid flicker when switching views
Desktop (please complete the following information):
Also confirmed bug exists in Firefox and Edge. I use Chrome 99% of the time
Smartphone (please complete the following information):
Additional context
Steps to reproduce bug
The other elements, such as the state display do not appear to be affected.
The text was updated successfully, but these errors were encountered: