You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I rotate my phone, the available card width changes. The card correctly adapts the number of columns (hourly) according the available width, but I need to refresh the screen (iPhone companion app) when I rotate from landscape to portrait or visa versa
To Reproduce
Steps to reproduce the behavior:
I open the hourly view in landscape:
Then rotate the mobile back to portrait:
After a manual refresh it is back to normal:
Expected behavior
I think the card needs an auto refresh when the available card width is modified
Screenshots
See above
The text was updated successfully, but these errors were encountered:
@mlamberts78
Thanks for looking into this issue. Is this already in a release? I just checked V2.3.1 and that version still requires a refresh after a width change.
Best Eric
@erkr , V2.3.1 should fix the issue. Tested width change on IOS 17.3.1, Android 14 and on Windows Chrome 121.0.6167.189 browser.
On all, when changing orientation or browser width, the amount of forecasts is reduced to ensure they fit on the card.
@mlamberts78
You are right, I put the card directly in the view and that it works both in the companion app and Safari on my iPhone iOS 17.3.1.
It is still not working when I embed the weather card in custom:tabbed-card. Then it still needs a refresh:
I'm not a Lovelace developer, but can imagine the issue is caused by that tabbed card (not forwarding the width changes to the embedded card for instance)? If so I will raise an issue there.
Describe the bug
When I rotate my phone, the available card width changes. The card correctly adapts the number of columns (hourly) according the available width, but I need to refresh the screen (iPhone companion app) when I rotate from landscape to portrait or visa versa
To Reproduce
Steps to reproduce the behavior:
I open the hourly view in landscape:
Then rotate the mobile back to portrait:
After a manual refresh it is back to normal:
Expected behavior
I think the card needs an auto refresh when the available card width is modified
Screenshots
See above
The text was updated successfully, but these errors were encountered: