Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const editModeOnProps = {

function setup(props: HeaderDropdownProps) {
return (
<div className="dashboard">
<div className="dashboard-header">
<HeaderActionsDropdown {...props} />
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
4 changes: 0 additions & 4 deletions superset-frontend/stylesheets/superset.less
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,3 @@ hr {
top: 269px !important;
}
}

.ant-dropdown.ant-dropdown-placement-bottomRight {
top: 133px !important;
Copy link
Copy Markdown
Member Author

@geido geido May 11, 2021

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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the investigation!@geido @pkdotson how much refactoring left in this project?

@jinghua-qa

}