Currently, I am encountering an issue with the display of a ui-select dropdown inside a ui bootstrap modal that has overflow css set up.
Whenever the ui-select dropdown is opened, the list of options appears within the modal but is partially obscured by the overflow-y:scroll;
style applied to the modal body.
I am looking for a solution where the dropdown appears outside of the modal overflow and can extend beyond the edges of the modal, much like it would if the modal did not have overflow enabled.
The problem I am facing is illustrated in the following plunker. The toggle button within the modal switches between applying and removing overflow to showcase the issue and the desired result.
https://plnkr.co/edit/7eZ7GuPFMiEFMT2hogMV?p=preview
In this scenario, the overflow-y:scroll
is necessary for the modal body. It is crucial for the modal header and footer to remain visible without needing scrolling. By adding overflow specifically to the modal-body, scrolling is restricted to only this section, allowing content to be added without expanding the modal below the page's bottom. Users can dynamically edit the data displayed in the modal-body, potentially adding multiple rows of data containing ui-select elements.