gtg472b commented on issue #9130:
URL:
https://github.com/apache/incubator-superset/issues/9130#issuecomment-688445655
OK if anyone is just dying for a quick workaround (that's ugly as hell):
```diff --git
a/superset-frontend/node_modules/@superset-ui/preset-chart-xy/esm/BoxPlot/legacy/transformProps.js
b/superset-frontend/node_modules/@superset-ui/preset-chart-xy/esm/BoxPlot/legacy/transformProps.js
index c3839f46..10d2822e 100644
---
a/superset-frontend/node_modules/@superset-ui/preset-chart-xy/esm/BoxPlot/legacy/transformProps.js
+++
b/superset-frontend/node_modules/@superset-ui/preset-chart-xy/esm/BoxPlot/legacy/transformProps.js
@@ -21,7 +21,10 @@ exports.default = transformProps;
* specific language governing permissions and limitations
* under the License.
*/
+var widthToggleValue = 1;
function transformProps(chartProps) {
+ chartProps.width += widthToggleValue;
+ widthToggleValue *= -1;
const {
width,
height,
```
This forces a resize event which causes the Box Plot to actually update
on-screen. The toggling seems important (it didn't trigger with just always
subtracting one). Plus, I think it might minimize the odds of runaway chart
resizing.
I give up trying to find the root cause, and this will work well enough for
me. I tried tracing it and can't find what's missing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]