Skip to content
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 sometimes extending below the dashboard, lone direction arrow #87

Open
AndLindemann opened this issue Oct 12, 2024 · 5 comments
Open
Labels
bug Something isn't working

Comments

@AndLindemann
Copy link

AndLindemann commented Oct 12, 2024

I‘m still seeing an issue similar to #79 where the card extends towards the bottom of the dashboard and a lone direction arrow is visible there.
Especially happens on the iOS companion app with mobile dashboards for me.

Maybe this is related to pages where the card is not visible or only visible in popups, like in conjunction with the „bubble card“.

This is with the current 1.11.1 version of the card:

5878099E-385E-40CE-8297-C16569E9BF89

@aukedejong aukedejong added the bug Something isn't working label Oct 12, 2024
@aukedejong
Copy link
Owner

aukedejong commented Oct 12, 2024

Thanks for your detailed report.
Looks like the same issue.

I can't reproduce it on iOS yet. Maybe I need to try something with the bubble card.

Before the issue only presents it self when editing the card. Did you do that in the iOS companion app?

You are sure the companion app is using the latest version of the card?

@AndLindemann
Copy link
Author

I have reset the fronted cache in the app several times. So I think that’s all I can do to get it to load the most recent version.
I have not edited the card in the app, so I can rule that out. I do all my dashboards directly in yaml.

I think there is a relationship to bubble card somehow, as I can only reproduce the issue so far, when I access a dashboard using bubble card, where Windrose is configured in a bubble card popup.
After that however the issue also presents itself in non-bubble-card dashboards. Looks like once it has broken, it breaks on other dashboards as well, until I reload the app.

@AndLindemann
Copy link
Author

AndLindemann commented Oct 14, 2024

I can reproduce this on Firefox/Windows also with a bubble-card dashboard, so not only related to iOS/companion app. There's the assumed svg tag being rendered below the dashboard.

grafik

The flow to reproduce this for me is:

  1. Access a bubble-card using dashboard where the windrose card is in a bubble-card popup (which is not currently displayed, so the card actually never shows on screen and is only loaded in the background potentially)
  2. Access any other Home Assistant page. Doesn't even have to be a dashboard.
  3. Go back to the bubble-card dashboard and scroll down to see the svg arrow being rendered below the actual dashboard content.

@aukedejong
Copy link
Owner

Hi,
When an error occurs in the windrose card, the SVG library I use just adds an svg element to the dom.
Before I fixed this by catching errors and clean up.

Can you see any errors in the browser console related to the windrose card?

@AndLindemann
Copy link
Author

I can see it initializes with the "Windrose Card Version 1.6.0" message - I have 1.6.2 installed, but I checked and it looks like it always outputs 1.6.0 currently.

The only other message from windrose card I see is

WR WARN Matching results entity sensor.weatherly_wind_gust, 1 not matched of total 842 direction measurements

The card seems to work fine though (apart from the described issue 😊).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants