-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
DropDowns Incompatibility with stack-in cards #40
Comments
Thanks for the temporary work-around @ildar170975, it works. Posting it here in a more clear format on where to use it, to make it easier for more people to use. Since card-mod css structure is not the most intuitive thing on earth. type: custom:stack-in-card
card_mod:
style: |
ha-card {
overflow: visible !important;
}
cards:
- type: custom:mini-media-player
lorem: ipsum..... |
Allow overflow to fix issue custom-cards#40 Honestly I'm doing this pull request straight from github, without testing it. I have more experience on backend stuff and python, not much in the frontend or typescript. I would have to learn and figure out how to test it. And I plan to do, WHEN I have more time, but meanwhile this guesswork change looks like the correct thing to do based in the workaround posted. If someone can also review or test it I apreciate.!
For the record:
|
And now I suggest this mod:
which prevents overflowing by X & allows it by Y. |
Same issue here workarounds work perfectly. Maybe someone should make a pr with an actual fix. |
I made a PR already, almost 2 years ago, never got merged. It's still there ready to go, just waiting for the repo owner. Maybe the card is not being maintained anymore. idk. |
@RomRider Is it possible to merge that pr, so that problem gets resolved? |
This PR does not handle some cases, already suggested you corrections. |
@ildar170975 I'll update it with your suggestion 👍 |
Very good. The only thing that bothers me - it may not work properly on some old browsers. |
@ildar170975 What is your goal trying to limit overflow in X only, does that solves any particular issue? I've never had a problem allowing overflow to all directions... so, I'm curious. |
The 1st card has no
|
Checklist:
Release with the issue:
Last working release (if known):
Browser and Operating System:
Description of problem:
Starting on HA version 2022.3
The dropdowns don't show correclty if the
mini-media-player
link card is used inside acustom:stack-in-card
link or acustom:vertical-stack-in-card
linkI'll cross post this issue on the other involved custom cards repos, as I don't know what is the root cause for the issue.
Cross posted issues:
ofekashery/vertical-stack-in-card#120
kalkih/mini-media-player#631
Javascript errors shown in the web inspector (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: