style: DatasourceControl dropdown z-index issue
See original GitHub issueWhen datasource name is long or browser window is small, DatasourceControl dropdown menu cut in half on narrow screens.
Expected results
The dropdown menu should be able to overflow from the side bar.
This should be fixable by adding z-index or rendering the dropdown in portal.
Another option is to right-align the dropdown menu.
Actual results
How to reproduce the bug
- Go to Explore page
- Select a datasource with very long name
- Narrow your browser window
- Click on the “…” dropdown.
Environment
(please complete the following information):
- superset version:
superset version
- python version:
python --version
- node.js version:
node -v
- npm version:
npm -v
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
- I have checked the superset logs for python stacktraces and included it here as text if there are any.
- I have reproduced the issue with at least the latest released version of superset.
- [ x I have checked the issue tracker for the same issue and I haven’t found one similar.
Additional context
Not sure if this is a regression, but should be somewhat related to #10971
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Dropdown menu, z-index problems - Stack Overflow
I've got a problem. I have a drop down menu, but the drop down list is always one layer behind the body although...
Read more >How to use CSS z-index property to Avoid Overlapping of ...
A simple practical example which comes to our mind is a drop down menu sliding under another element positioned just below the drop...
Read more >Autocomplete Issue - Dropdownlist showing up on TOP of my ...
I've been reading about resetting the Z Index of one of my control but I have been unable to do so thus far....
Read more >Toolbar dropdown z-index problem when using multiple ...
Click on some toolbar dropdown. See the dropdown items are overlapped by other toolbar due to bad z-index. browser version and os version...
Read more >Common problems - The jQuery replacement for select boxes
The dropdown becomes misaligned/displaced when using pinch-zoom. ... See #5048. The problem is that some browsers' implementations of pinch-zoom affect the body ...
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
Merged, and confirmed this is fixed in master:
@ktmud @zuzana-vej @junlincc https://github.com/apache/incubator-superset/pull/11395 should fix the issue.