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

Dropdown-content problem when inside an expansion panel #54

Open
JoaquimCAP opened this issue Jul 31, 2019 · 2 comments
Open

Dropdown-content problem when inside an expansion panel #54

JoaquimCAP opened this issue Jul 31, 2019 · 2 comments

Comments

@JoaquimCAP
Copy link

JoaquimCAP commented Jul 31, 2019

If the component is placed inside an expansion panel , when the list is opened, half dropdown will be hidden (if the height is smaller than the dropdown content)

bug

I was trying to change the z-index + position: absolute, but playing with this styles didn't change anything.

Material Angular manages the dropdown box in a different way (rendered outside the main "app-root" and avoiding the overflow problem)
https://stackblitz.com/edit/angular-r6ouax?file=app/expansion-overview-example.html

*Maybe another alternative solution can be a param/setting, that allows to change the orientation of the dropdown (for example, above the input, when there is not enough space below)

@nikhiln
Copy link
Owner

nikhiln commented Aug 17, 2019

@JoaquimCAP Could you create stackblitz demonstrating the issue?

@JoaquimCAP
Copy link
Author

Sorry, no time for testing in another environment. I found this stackblitz with your component:
https://stackblitz.com/edit/angular-ngx-international-phone-number
But is impossible to install all the packages from Angular Material (errors with core-js, dependencies missing, etc...) and at work i can't pass more time to test :(
I hope someone else can do it!

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

No branches or pull requests

2 participants