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

Sidebar view loading incorrectly. #11834

Closed
3 tasks done
jazzyisj opened this issue Feb 24, 2022 · 3 comments · Fixed by #11835
Closed
3 tasks done

Sidebar view loading incorrectly. #11834

jazzyisj opened this issue Feb 24, 2022 · 3 comments · Fixed by #11835
Labels
Bug Current Bug in UI - Extra Attention

Comments

@jazzyisj
Copy link

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing

Sidebars views load correctly on initial view. When browser is refreshed all cards stack in the main view and the sidebar is empty. A reload of lovelace corrects the issue until the browser is refreshed again.

Confirmed on Chrome, Edge on Windows and Fire Tablet using Fully Kiosk.

Describe the behavior you expected

Cards loading in correct area of sidebar view after browser refresh.

Steps to reproduce the issue

  1. Load a sidebar view.
  2. Refresh browser for incorrect render.
  3. Reload lovelace for correct render.

What version of Home Assistant Core has the issue?

2022.3.0b1

What was the last working version of Home Assistant Core?

2022.2.9

In which browser are you experiencing the issue with?

Chrome Version 98.0.4758.102 (Official Build) (64-bit)

Which operating system are you using to run this browser?

Windows 10.0.19043

State of relevant entities

No response

Problem-relevant frontend configuration

title: 'Test'
icon: mdi:ab-testing
path: test
type: sidebar
cards:
  - type: entities
    entities:
      - sensor.outdoor_temperature
    view_layout:
      position: sidebar

  - type: entities
    entities:
      - sensor.outdoor_temperature

Javascript errors shown in your browser console/inspector

None.

Additional information

sidebar good
Correct Render

sidebar error
Incorrect Render

@jazzyisj jazzyisj added the Bug Current Bug in UI - Extra Attention label Feb 24, 2022
@Mincka
Copy link
Contributor

Mincka commented Mar 8, 2022

I understand that a fix was implemented in https://github.com/home-assistant/frontend/releases/tag/20220224.0
I am running 2022.3.3 which embeds https://github.com/home-assistant/frontend/releases/tag/20220301.1
I still have the same issue with a map card, in the main area, not appearing on first load when using Sidebar view type.

  • If I switch between views of the same dashboard, it does not make the card reappear.
  • If I switch to another dashboard and then come back to the view of the dashboard, with the sidebar view, it makes the card reappear.
  • If the browser is refreshed, it's broken again.

Is it fixed for you @jazzyisj?

@jazzyisj
Copy link
Author

jazzyisj commented Mar 8, 2022

@Mincka Yessir. Sidebars working fine on all devices here.

@degrashopper
Copy link

I have the same problem as @Mincka in a chrome browser and in the ha companion app as well . I am currently running 2022.3.3

@github-actions github-actions bot locked and limited conversation to collaborators Apr 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Current Bug in UI - Extra Attention
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants