Is it possible to have vertical scrolling in a bootstrap table while also allowing certain elements to expand and overflow the entire table on hover?
I am facing an issue where setting tbody { display: block }
for vertical scrolling prevents the expanding element from overflowing the table on hover. Instead, it gets hidden behind the thead
.
I have tried using relative and absolute positioning as well as adjusting z-index values, but nothing seems to work. The desired behavior is demonstrated when hovering over a green td
item in the snippet provided below.
If you enable scrolling in the tbody
, the expanding element no longer appears above the thead
. How can this be resolved without sacrificing the vertical scrolling functionality of the tbody
?