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

HA 2023.4 Hide header not working #566

Closed
4 tasks done
limitless00net opened this issue Apr 6, 2023 · 36 comments
Closed
4 tasks done

HA 2023.4 Hide header not working #566

limitless00net opened this issue Apr 6, 2023 · 36 comments

Comments

@limitless00net
Copy link

My Home Assistant version: 2023.4

What I am doing:
I updated to HA 2023.4

What I expected to happen:
Header should be hidden.

What happened instead:
Header are not hidden.

Minimal steps to reproduce:
I just updated.

Error messages from the browser console:
Nothing

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

  • Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).

  • Have made sure I am using the latest version of the plugin.

  • Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.

  • Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

@mdb17
Copy link

mdb17 commented Apr 6, 2023

I am seeing this as well

@jcbshw
Copy link

jcbshw commented Apr 6, 2023

Also seeing the same with hiding the sidebar

@mkcologne
Copy link

Put me on the list. For Sidebar as well.

@w1tw0lf
Copy link

w1tw0lf commented Apr 6, 2023

Sidebar and header not hiding this side

@radoprajitno
Copy link

I found the same issue. It also affect the HACS kioskmode hide header functions.

@rakvikx
Copy link

rakvikx commented Apr 6, 2023

same here!
sidebar and header

@guirem
Copy link

guirem commented Apr 6, 2023

Same here for sidebar (i'm not using header) since 2023.4 update

@pergolafabio
Copy link

ah, ok, yeah, i was using kiosk mode, but it was broken, wanted to try out this one instead, but it doesnt work indeed, now i know its not me
The beta kiosk mode is working tough, the one from the gist , for people want to use it:
https://gist.github.com/elchininet/9a2648ea0016d3194072712c745c5ad2

@TheBassfly
Copy link

Samen for me.

Tha whole Lovelace seemed top be changed, as all my themes don't have any background anymore.

@laczynskik
Copy link

with 'wallpanel lovelace' work well, hiding by CSS..

@MackoMici
Copy link

same here!
sidebar and header

@filippo196302
Copy link

same here!
sidebar and header

@pklijzing
Copy link

Instead of all saying "Same", just thumbs up the first post to keep this thread clean.
Pretty please 😁

@olibos
Copy link

olibos commented Apr 6, 2023

Hello, if this issue is blocking, you can try my workaround:
https://github.com/olibos/hass-browser_mod/blob/feature/2023.4-workaround/custom_components/browser_mod/browser_mod.js

Just replace the one in your config folder:
/config/custom_components/browser_mod/browser_mod.js

and delete the gzip version: /config/custom_components/browser_mod/browser_mod.js.gz

Then restart your HomeAssistant: Developer Tools > Check and Restart > Restart
And select "Restart Home Assistant":
image

Attention: this workaround works only in 2023.4+

Let me know if it works for you!

image

@TheBassfly
Copy link

Hello, if this issue is blocking, you can try my workaround: https://github.com/olibos/hass-browser_mod/blob/feature/2023.4-workaround/custom_components/browser_mod/browser_mod.js

Just replace the one in your config folder: /config/custom_components/browser_mod/browser_mod.js

and delete the gzip version: /config/custom_components/browser_mod/browser_mod.js.gz

Then restart your HomeAssistant: Developer Tools > Check and Restart > Restart And select "Restart Home Assistant": image

Attention: this workaround works only in 2023.4+

Let me know if it works for you!

image

Nope

Doesn't work here.

@wattsy74
Copy link

wattsy74 commented Apr 6, 2023

Hello, if this issue is blocking, you can try my workaround: https://github.com/olibos/hass-browser_mod/blob/feature/2023.4-workaround/custom_components/browser_mod/browser_mod.js

Just replace the one in your config folder: /config/custom_components/browser_mod/browser_mod.js

and delete the gzip version: /config/custom_components/browser_mod/browser_mod.js.gz

Then restart your HomeAssistant: Developer Tools > Check and Restart > Restart And select "Restart Home Assistant": image

Attention: this workaround works only in 2023.4+

Let me know if it works for you!

image

Didn't work for me either

@olibos
Copy link

olibos commented Apr 6, 2023

Maybe a cache issue? When you download the file on your http[s]://[ha]/browser_mod.js
Is it the same as the one on my link?
It should contains the following text:
e.style.setProperty("--header-height","0px")

@wattsy74
Copy link

wattsy74 commented Apr 6, 2023

Maybe a cache issue? When you download the file on your http[s]://[ha]/browser_mod.js Is it the same as the one on my link? It should contains the following text: e.style.setProperty("--header-height","0px")

Yes of course it was caching, I feel so stupid now!!..
Thanks for the reply

@olibos
Copy link

olibos commented Apr 6, 2023

No worries, I hope we will soon have an official release with the fix 😉

@Tanjohnson99
Copy link

Same issue here. Sidebar is not hide.

@aldor443
Copy link

aldor443 commented Apr 6, 2023

Hello, if this issue is blocking, you can try my workaround: https://github.com/olibos/hass-browser_mod/blob/feature/2023.4-workaround/custom_components/browser_mod/browser_mod.js

Just replace the one in your config folder: /config/custom_components/browser_mod/browser_mod.js

and delete the gzip version: /config/custom_components/browser_mod/browser_mod.js.gz

Then restart your HomeAssistant: Developer Tools > Check and Restart > Restart And select "Restart Home Assistant": image

Attention: this workaround works only in 2023.4+

Let me know if it works for you!

image

This solution only works in browser, not in apk ???

@grssll
Copy link

grssll commented Apr 7, 2023

Not working!

@jcbshw
Copy link

jcbshw commented Apr 7, 2023

Hello, if this issue is blocking, you can try my workaround: https://github.com/olibos/hass-browser_mod/blob/feature/2023.4-workaround/custom_components/browser_mod/browser_mod.js

Just replace the one in your config folder: /config/custom_components/browser_mod/browser_mod.js

and delete the gzip version: /config/custom_components/browser_mod/browser_mod.js.gz

Then restart your HomeAssistant: Developer Tools > Check and Restart > Restart And select "Restart Home Assistant": image

Attention: this workaround works only in 2023.4+

Let me know if it works for you!

image

Thanks I can confirm this works for me on iOS and Desktop after clearing cache.

@terriblefox
Copy link

seems kiosk mode integration fixed it.

@vhardono
Copy link

vhardono commented Apr 7, 2023

@olibos I followed your workaround and refreshed my browser. The header background is now gone, however a small portion (bottom half) of the header title is visible/protruding from the top of screen. Is there any other configuration I need to adjust for removing the header title completely?

Untitled

@olibos
Copy link

olibos commented Apr 7, 2023

Hello @vhardono ,
Thank you for your feedback.

I think it's a limitation of my workaround.
My personal use case hide both the sidebar and header.
If no official solution come on tuesday, I will have some time to check that use case and update my PR + link of the workaround.

@vhardono
Copy link

vhardono commented Apr 7, 2023

thanks for your effort anyway! :)
I just deleted the header title - "Dashboard" so it's not visible anymore, but for sidebar it's not possible. So i will temporarily hide the sidebar first until official fix is released

@dselzle
Copy link

dselzle commented Apr 8, 2023

This still seems to be broken for me after your fix. HA 2023.4.1

@drjjr2
Copy link

drjjr2 commented Apr 8, 2023

This still seems to be broken for me after your fix. HA 2023.4.1

Not sure if this applies to you but I thought it wasn't working with FullyKiosk but then I cleared the cache (in FullyKiosk) and all was well.

@Zeunas
Copy link

Zeunas commented Apr 8, 2023

Def clear cache, that should work.

@dselzle
Copy link

dselzle commented Apr 8, 2023

This still seems to be broken for me after your fix. HA 2023.4.1

Not sure if this applies to you but I thought it wasn't working with FullyKiosk but then I cleared the cache (in FullyKiosk) and all was well.

Clearing the Fully Kiosk cache worked thanks! Thought restarting the app would be enough, but I guess not.

@juan11perez
Copy link

The fix is not working correctly.
The title bar is indeed hidden, but I can not access the side panel.
I've cleared cache and restarted the app various times.

@thomasloven
Copy link
Owner

Do you mean the button to reveal the sidebar - which is in the header - is not vissible when you've chosen to hide the header?

@limitless00net
Copy link
Author

The fix is not working correctly.
The title bar is indeed hidden, but I can not access the side panel.
I've cleared cache and restarted the app various times.

Same here.

@juan11perez
Copy link

@thomasloven
Thank you.
In my case that side panel button has always been hidden if I choose the hide title option.

However, I was always able to see the side panel by swiping right on the screen. The side panel will momentarily appear and then hide again.

Right now that's not possible. I.e. the side panel is fully locked and can't be accessed. The only way is to disable the 'hide title' option

@pergolafabio
Copy link

This is not related to Browser mod, they changed something in frontend:

home-assistant/android#3460

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.