MelleD / lovelace-expander-card

Expander card for HomeAssistant
Apache License 2.0
56 stars 6 forks source link

Expand doesnt work sometimes #139

Closed duczz closed 3 months ago

duczz commented 3 months ago

i have 1 issue with this card.

when i create a new card with them integration all works in the edit mode, but when i leave it it doenst work since i close the browser tab and start the brwoser tab again.

any idea?

image

tracklist

S1M8N commented 3 months ago

Have you test with CTRL + R (Clear browser cache) ?

MelleD commented 3 months ago

Should be enough to reload the page again. Have the same issue with other cards sometimes too. Not sure if i can do something here.

On Mac it's enough to refresh the page with CMD + R

duczz commented 3 months ago

I need to Close the Tab and it ist each time when i was in edit Mode, have this Problem only with this Card :/ Whould be great if you find something

MelleD commented 3 months ago

@duczz can you try 1.2.10?

duczz commented 3 months ago

thanks for testing but it doenst work :(

Edit: it is each time when i click "save" the Card and leave the edit mode (it does not need changes on the card)

MelleD commented 3 months ago

@duczz I cannot reproduce it so I guess you have an old version. Could you check the version on the console?

And please try it again with ignoto modus in browser and press 3 dots "reload resources"

duczz commented 3 months ago

i found some new infos for that.

the card works perfect when you create it as a card alone, without any other (stack-in-card etc.), but it works only if you create it alone and not when you had it in a card with multiple other card (stack-in-card) removing the other card does not solve the problem you need really create the card alone, maybe this helps?

Tested in "Horizontal (layout-card)" but does not work in "Section Layout" and "Raster Layout"

Info: you should open the case again :)

image

tracklist

MelleD commented 3 months ago

@duczz sorry but I said try version 1.2.10 and you send a picture where you can easily see that version is 1.2.9???

So what I should say more than use the newest version.

duczz commented 3 months ago

the current version is installed, but in den console it shows the old one image

duczz commented 3 months ago

reinstallation fixed it now, thank you for assist and solve the problem

MelleD commented 3 months ago

@duczz this is not related to this integration also for all others.

You HAVE TO reload/refresh the cache or reload resources if you need new versions. Easier to test is to use inkognito modus without caching. Only the console show you which version is currently in use in the browser. HA show just which version is installed, but NOT which version is in use in OUR browser

duczz commented 3 months ago

i know, i does this, i tried different browsers too, but is solved now with a reinstallation.