-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
bug: materialize select in modal #35
Comments
I've seen this issue as well. I got around it by adding In any case, modals could probably be improved to handle the dropdown component better. |
the latest PR Dogfalo#6602 from Dogfalo's repo could be related though. |
The solution is to specify the container for the Dropdown. M.FormSelect.init(element, {
dropdownOptions: {
container: document.body
}
} Unfortunately, not all components that use a Dropdown accept dropdownOptions. I have been dealing with this problem in the case of Autocomplete. The mentioned PR in the old repo solves this. It would be nice to have this option added. |
I just realized that |
I've found the same problem with materialize Autocomplete component Edit: nvm #60 is related |
Can we close this? |
Still need documentation fix about components that can be in container |
I'm limiting the height of my dropdown by setting the .select-dropdown height,
|
Long select list in modal overflow
Current Behavior
Materialize select with multiple option change the modal height. We don't know if the select option has reached the end. Maybe it's missing some bottom margin ?
Possible Solution
The list could be overlapping the modal content or have a max-height.
Steps to Reproduce (for bugs)
Environment
The text was updated successfully, but these errors were encountered: