We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c619a34 commit fc5d375Copy full SHA for fc5d375
build/app/view/netcreate/components/InfoPanel.jsx
@@ -106,7 +106,9 @@ class InfoPanel extends UNISYS.Component {
106
}
107
handleDrag(e) {
108
e.stopPropagation();
109
- let top = e.clientY + this.state.draggerMouseOffsetY;
+ // limit to 80 to keep from dragging up past the tabpanel
110
+ // 80 = navbar + tabpanel height
111
+ let top = Math.max(80, e.clientY + this.state.draggerMouseOffsetY);
112
this.setState({
113
tabpanelHeight: (top - this.state.tabpanelTop - 40) + 'px',
114
tableHeight: (top - this.state.tabpanelTop) + 'px',
0 commit comments