Dropdown boundary="window" fails within table header when sticky-header set.
See original GitHub issueThis is pretty similar to #3563 - basically, that bug comes back if you have sticky-header
set on the table. It’s really noticeable when the dropdown is longer than the table. The dropdown menu clips inside the table area, which gets a vertical scrollar when the dropdown appears:
But it happens even if the table is longer - note that the top of the dropdown is clipped when it goes outside the first column:
Expected behavior
If you set the boundary to window
, I would expect the dropdown to be placed above the table content and not be clipped within the table area.
Versions
Libraries:
- BootstrapVue: 2.5.0
- Bootstrap: 4.4.1
- Vue: 2.6.11
Environment:
- Device: Desktop Workstation
- OS: Ubuntu Linux
- Browser: Chrome
- Version: 82.0.4085.12 (Official Build) dev (64-bit)
Demo link
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How to make a Bootstrap dropdown show up in front of sticky ...
First, add some identity to your table. <!-- Based off https://css-tricks.com/a-table-with-both-a-sticky-header ...
Read more >Position Sticky and Table Headers | CSS-Tricks
It makes way more sense to sticky a parent element like the table header rather than each individual element in a row.
Read more >Table header defined as sticky header overlays option list o
The option list of the selects may not be overlaid by the sticky header of the table. Actual behavior. When using a select,...
Read more >Drop down list scrolling in front of my fixed header - SitePoint
I have a table where the header is fixed and in my table I have a dropdown list that contains let's say a...
Read more >The Ultimate Guide To Elementor Sticky Headers - Kinsta
A sticky header keeps important information in view. Learn how to easily build an Elementor sticky header to keep your audience engaged.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not sure where to apply that, so I tried various places, to no avail.
Best I could come up as a workaround, was to not use sticky headers where the list is likely to be shorter than the menu:
That’ll do for me, for now.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!