-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Menu does not appear on scroll in Dashboard #14566
Conversation
@@ -603,7 +603,3 @@ hr { | |||
top: 269px !important; | |||
} | |||
} | |||
|
|||
.ant-dropdown.ant-dropdown-placement-bottomRight { | |||
top: 133px !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pkdotson this was introduced by PR #14184. Not sure what side effects might have removing it, but in general it seems that the approach of forcing the positions might not be the right one in the first place.
The potential issues were also reported by @rusackas on this review comment https://github.com/apache/superset/pull/14184/files#r626190039 but were then overlooked. I would please ask you to have a look at that portion of the changes and find different solutions. I am pretty sure this is not the only issue that we might face.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/testenv up |
@junlincc Ephemeral environment spinning up at http://54.149.115.240:8080. Credentials are |
@geido thanks for the quick fix! can you test it locally with native dashboard filter on? |
@junlincc tested locally with native filters on. LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix and the investigation. Re-reunning unit tests that seem to have randomly repeatedly failed.
That's fixed @rusackas |
Codecov Report
@@ Coverage Diff @@
## master #14566 +/- ##
==========================================
- Coverage 77.40% 77.32% -0.09%
==========================================
Files 958 958
Lines 48326 48326
Branches 5677 5677
==========================================
- Hits 37405 37366 -39
- Misses 10721 10760 +39
Partials 200 200
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Ephemeral environment shutdown and build artifacts deleted. |
🏷️ 2021.19 |
* Fix menu * Fix test (cherry picked from commit b960843)
* Fix menu * Fix test
* Fix menu * Fix test
* Fix menu * Fix test
SUMMARY
Removes a fixed top position and uses the header as a target for the dropdown to allow scrolling with the fixed header.
Fixes: #14553
BEFORE
https://www.awesomescreenshot.com/video/3701928?key=96c5bea8a393c3d2a2bc1e443e062b54
AFTER
https://www.awesomescreenshot.com/video/3701842?key=ee9247adb7c07874950168bf0cc461b0
TEST PLAN
ADDITIONAL INFORMATION