question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

style: DatasourceControl dropdown z-index issue

See original GitHub issue

When 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

image

How to reproduce the bug

  1. Go to Explore page
  2. Select a datasource with very long name
  3. Narrow your browser window
  4. 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

cc @mistercrunch

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mistercrunchcommented, Oct 24, 2020

Merged, and confirmed this is fixed in master: Screen Shot 2020-10-24 at 11 26 05 AM

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found