My <table>
is scrollable by being enclosed in a fixed height <div>
.
The dropdown component within the <table>
(blue container in the 2nd
column of the 1st
row in the image and JSFIDDLE link provided below) is currently hidden behind the parent <div>
. I want it to show all available options instead.
JSFIDDLE (example)
How can I move the dropdown component outside the containing <div>
to display all options as shown in the image?
If I remove the pRelative
container, the dropdown becomes fully visible - but it no longer scrolls along with its parent container when I scroll.
Appreciate any CSS/javascript solutions. Thank you.
PS: Solutions using only CSS and JavaScript are preferred.