feat(adhoc-column): add resize option (#23748)

This commit is contained in:
Ville Brofeldt
2023-04-20 17:03:18 +03:00
committed by GitHub
parent b2b8c3e05b
commit 60c9d68403
5 changed files with 152 additions and 8 deletions

View File

@@ -248,7 +248,7 @@ export default class AdhocMetricEditPopover extends React.PureComponent {
POPOVER_INITIAL_WIDTH,
),
height: Math.max(
this.dragStartHeight + (e.clientY - this.dragStartY) * 2,
this.dragStartHeight + (e.clientY - this.dragStartY),
POPOVER_INITIAL_HEIGHT,
),
});