From 86bf64e793b29c370498dd92e8498f3fc0e9e0f1 Mon Sep 17 00:00:00 2001 From: Colin Megill Date: Wed, 1 May 2019 15:41:54 -0400 Subject: [PATCH] avoid overflow on clip dialogue (#740) --- client/src/components/graph/graph.js | 173 +++++++++++++-------------- 1 file changed, 83 insertions(+), 90 deletions(-) diff --git a/client/src/components/graph/graph.js b/client/src/components/graph/graph.js index 7fc3ad80..a87493e7 100644 --- a/client/src/components/graph/graph.js +++ b/client/src/components/graph/graph.js @@ -362,9 +362,9 @@ class Graph extends React.Component { }; handleClipOnKeyPress = e => { - /* - allow only numbers, plus other critical keys which - may be required to make a number + /* + allow only numbers, plus other critical keys which + may be required to make a number */ if (!Graph.isValidDigitKeyEvent(e)) { e.preventDefault(); @@ -894,102 +894,95 @@ class Graph extends React.Component { marginLeft: 10 }} > - - - } - onOpening={this.handleClipOpening} - onClosing={this.handleClipClosing} - content={ + + } + position={Position.BOTTOM_RIGHT} + onOpening={this.handleClipOpening} + onClosing={this.handleClipClosing} + content={ +
+
Clip all continuous values to percentile range
-
Clip all continuous values to percentile range
-
+ +
+ } + /> + - + + +
+ } + /> +
- } - /> - - {" "} - -{" "} - - - - - } - /> - - - + Clip + - } - /> -
+ + } + />