thomasloven / hass-browser_mod

🔹 A Home Assistant integration to turn your browser into a controllable entity and media player
MIT License
1.32k stars 187 forks source link

Hide sidebar shows an empty sidebar #738

Open AndrewSteel opened 3 months ago

AndrewSteel commented 3 months ago

My Home Assistant version: HA OS 12.3 HA Core 2024.7.4 Browser Mod 2.3.1

What I am doing: Update Browser Mod to 2.3.1

What I expected to happen: Frontend Settings -> Hide sidebar: Hide the sidebar on selected device

What happened instead: Frontend Settings -> Hide sidbar: Shows an empty sidebar but doesn't hide it on selected device.

See Image below: Screenshot_20240802_165641_WallPanel

Same display behavior in the HomeAssistant App, Chrome browser and WallPanel App. Same viewing experience on tablet and desktop.


By replacing the space in the checkboxes ([ ]) with an X below, I indicate that I:

dMopp commented 2 months ago

Same with 2024.08.01

kernel610 commented 2 months ago

I've been trying to figure out what caused this and then realized it was the "hidden" sidebar. What's odd for me is that it occasionally does actually hide and go back to the expected view. Any reload on the page returns the broken sidebar though.

MalteMatthey commented 2 months ago

I can confirm that the same behavior occurs in version 2024.8.2.

Unfortunately, I haven't been able to identify any consistent pattern for when the sidebar gets hidden or reappears, similar to what @kernel610 described.

The only slight improvement I've found is by manually unhiding the sidebar, folding it in, and then hiding it again. This reduces the blank space somewhat, but the issue still persists.

zwolfinger commented 2 months ago

FWIW, I'm still seeing the same for HA 2024.8.3

dMopp commented 2 months ago

Weird: Disable hiding, refresh app, enable hiding —> fine Refresh —> Empty Sidebar

In my Firefox (same user) I don’t see any issue

harrisonbrose commented 1 month ago

This workaround seems to be holding:

  1. In Browser Mod, temporarily unhide sidebar and header.
  2. On the device in question, click on the user, scroll down, and enable "always hide the sidebar"
  3. Re-expand the sidebar and return to your dashboard
  4. in Browser Mod, re-hide the sidebar and header.