-
-
Notifications
You must be signed in to change notification settings - Fork 23
[FR] Disable vertical scrolling?" #328
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
Comments
Hi @Jaxel, |
It's hard to explain in text what's happening here, so I made some videos: And here is a longer video explaining the exact HTML/CSS issue: |
Thanks @Jaxel, it is clear now. |
Default theme. Only happens when Kiosk mode is enabled. |
Perfect, let's keep ruling out things, could you tell me which layout you are using?
It makes sense, because in But as the Docker demo is a Home Assistant instance without anything else installed but |
It also only happens on my Samsung A9+ tablets. Doesn't happen on my cell phone. |
I have a Galaxy Tab A8 so maybe I can reproduce it there, let me know which layout you are using to build something similar to yours. |
It's a YAML layout. |
I have HACS with card-mod, Spook, and Paper Buttons Row installed. That's it. |
I don't mean that. In a dashboard, each view can have a layout (Sections, Masonry, etc). Looking at your screen it could be a Masonry one but I am not sure. |
YAML layouts are masonry. |
I think that you don't get what I am asking, this is one of the dashboards in the Docker demo, all the dashboards are written in YAML: kiosk_mode:
hide_header: true
title: Kiosk-mode hide header
views:
- theme: Backend-selected
title: Hide Header
path: kiosk-mode-hide-header
badges: []
cards:
- type: markdown
content: This dashboard has the setting `hide_header` on `true`. But I can set up the layout in the view if I want: kiosk_mode:
hide_header: true
title: Kiosk-mode hide header
views:
- theme: Backend-selected
title: Hide Header
path: kiosk-mode-hide-header
badges: []
cards:
- type: markdown
content: This dashboard has the setting `hide_header` on `true`.
type: xxx ## <--- here is set up the layout (e.g. sections) Let me know if you are using any layout. |
YAML layouts are Masonry by default. |
There are no such thing as "YAML layouts" 🙂 I think that you mean that you use |
cameras-column-1.yaml
cameras-column-2.yaml
cameras-column-3.yaml
|
Perfect, let me try to set up something similar. |
I cannot reproduce it, either in the browser or in my Galaxy Tab A8 🙁 Could you open that view in your browser and let me know if it occurs there? kiosk-mode.mp4 |
Upon further testing, I can confirm it only happens when using the Home Assistant Companion app in FULL SCREEN mode... The reason it doesn't happen on my cell phone is that I don't use it in full screen mode there. |
Oh, that is a good finding. I'll try to simulate it and I will try to check if something can be done to avoid that behavior. I'll update you with anything that I find. |
More testing. I installed the Fully Kiosk Browser APK. Same exact issue with full screen mode. |
Weird, that is the APK that I am using in my tablet. I will check with full-screen mode first, I'll let you know. |
Hi @Jaxel, No success trying to reproduce it. Let's do the things different because maybe it is something coming from the device and that is why I cannot reproduce it. Follow the next steps in your device:
|
That helped me figure out what was causing the scroll... It's the HACS card Paper Buttons Row.
This element is placed at the bottom left of the page in an absolute position BEFORE the header is removed by Kiosk Mode. |
This issue appears to have been reported on the Paper Buttons Row github: |
That is why I could not reproduce it, I don't have |
I just edited the JS and applied a |
Well, that is also a quick fix, the only drawback is that it will go away if you update the plugin. :) Anyway, glad that it is already solved. |
Hi @Jaxel, |
Can we get an option to disable scrolling on a dashboard?
The text was updated successfully, but these errors were encountered: