-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Problem with overflow for dialog tooltips #6
Comments
Hmmmmmm I'm stumped on this one. After commenting out a bunch of codes to trace the bug, I've come to the conclusion that CSS backdrop-filter and filter breaks how it handles overflow of a block. I did manage to fix it by disabling the overflow-y property of If anyone had experience fixing this one, please let me know! |
I'm looking into it too, it has something to do with the I have to get to work, but if I have time, I'll dig into it more. |
The solution here will temporarily fix the scrollbar problem, but you lose the transparency blur in the process: |
I stumbled on a partial solution, it fixes overflow for tooltips while retaining the blur effect card-mod-more-info-yaml: &card-mod-more-info-yaml |
$: |
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
.mdc-dialog__surface {
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
background-color: rgba(var(--rgb-mdc-theme-surface), .5) !important;
}
}
.mdc-dialog .mdc-dialog__container .mdc-dialog__surface {
overflow: visible;
}
.mdc-dialog__surface {
box-shadow: 0 0px 16px 4px rgba(var(--dialog-box-shadow), .15), 0 16px 64px 32px rgba(var(--dialog-box-shadow), .5) !important;
} However, dropdowns render incorrectly but it makes them more usable than before as noted in #28 I am no CSS expert, but if I remove the top and left style properties from this element, it returns to the proper position. I'm not sure how to apply this fix to the CSS though. |
Cool! Thank you and let me try this fix out. |
Ah, I see my fix was added to v1.8 |
I had an issue with overflows and after manually applying a fix from @zanix it now looks like this: What can I do about it? I'm on HA 2022.12.9 and Metrology 1.7.2 installed via HACS. |
Hey! Tooltips for the entity detail dialogs are cut off instead of overflowing their container.
Behavior
Expected
The text was updated successfully, but these errors were encountered: