You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a custom multi‑select dropdown inside a Bootstrap modal. The dropdown works fine, but when there are many items, the dropdown menu gets cut off at the bottom of the modal.
It seems the menu is hidden behind the modal boundary. I've tried the fixes recommended in related posts (e.g., boundary settings and CSS overrides), but they didn't work in my case. This issue only affects my custom multi‑select dropdown a standard Bootstrap dropdown inside the same modal renders and behaves correctly.
Problem:
Even with these fixes, the dropdown menu still gets cut off when it extends beyond the modal bottom.
I want the dropdown menu to either:
Show fully outside the modal, OR
Scroll properly inside the modal without being clipped
Question
How can I make a custom Bootstrap dropdown menu fully visible inside a Bootstrap modal when there are many items?
Is there a reliable way to fix this overflow issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using a custom multi‑select dropdown inside a Bootstrap modal. The dropdown works fine, but when there are many items, the dropdown menu gets cut off at the bottom of the modal.
It seems the menu is hidden behind the modal boundary. I've tried the fixes recommended in related posts (e.g., boundary settings and CSS overrides), but they didn't work in my case. This issue only affects my custom multi‑select dropdown a standard Bootstrap dropdown inside the same modal renders and behaves correctly.
Here is my Razor markup:
And here is the CSS I tried:
Problem:
Even with these fixes, the dropdown menu still gets cut off when it extends beyond the modal bottom.
I want the dropdown menu to either:
Question
How can I make a custom Bootstrap dropdown menu fully visible inside a Bootstrap modal when there are many items?
Is there a reliable way to fix this overflow issue?
Beta Was this translation helpful? Give feedback.
All reactions