mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
fix: Menu does not appear on scroll in Dashboard (#14566)
* Fix menu * Fix test
This commit is contained in:
parent
eaeb8f71c8
commit
b960843015
@ -65,7 +65,7 @@ const editModeOnProps = {
|
||||
|
||||
function setup(props: HeaderDropdownProps) {
|
||||
return (
|
||||
<div className="dashboard">
|
||||
<div className="dashboard-header">
|
||||
<HeaderActionsDropdown {...props} />
|
||||
</div>
|
||||
);
|
||||
|
@ -317,7 +317,7 @@ class HeaderActionsDropdown extends React.PureComponent {
|
||||
overlay={menu}
|
||||
trigger={['click']}
|
||||
getPopupContainer={triggerNode =>
|
||||
triggerNode.closest(SCREENSHOT_NODE_SELECTOR)
|
||||
triggerNode.closest('.dashboard-header')
|
||||
}
|
||||
>
|
||||
<DropdownButton id="save-dash-split-button" role="button">
|
||||
|
@ -603,7 +603,3 @@ hr {
|
||||
top: 269px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.ant-dropdown.ant-dropdown-placement-bottomRight {
|
||||
top: 133px !important;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user