spencermamer / lovelace-yet-another-expander-card

Yet Another Collapsible Expandable Lovelace Card
Apache License 2.0
11 stars 1 forks source link

UI Editor popup refreshes and shows code #5

Open ronluna opened 3 months ago

ronluna commented 3 months ago

Wondering if it's just me or on recent a HA update the card broke again ?

bdf0506 commented 3 months ago

I just started using this card, so I'm not sure what the expected behavior is. But I am on HA 2024.2.2 and when using the visual editor it refreshes every couple of seconds, making it nearly impossible to do any edits. If you click on 'show code editor' it seems to calm down after the first refresh and then won't refresh again so you can make changes.

yjamal01 commented 2 months ago

It seems all the expander cards are plagued by this issue. Really hoping for a fix

rubicon commented 2 months ago

This issue definitely makes using this card harder. Other than this, the card is quite good.

pgasidlo commented 2 months ago

Same here. Just found it and this refresh is really bugging me!

NeeeeB commented 2 months ago

workaround :

Remove the Title card of your Expander card and save it. Now try to modify it again : no refresh. Do what you have to do, and as the last action, put back your Title card. Save. Enjoy.

alexsaas commented 1 month ago

Another problem caused by the refreshing bug when using card_mod to remove the border from the title card, for example:

After any subsequent changes, even in yaml mode, of the entire card, the card_mod modifications of the title card will be lost and you will have to set them again.