Closed nwokafor-choongsaeng closed 8 months ago
This was caused by expensive functions producing UI content being evaluated even if that content is not being shown. I've opened a PR addressing the issue.
https://github.com/finos/morphir-elm/pull/1143 fixes this.
Describe the bug When trying to visualize a decision with over 20 branches on the develop UI, the browser stops responding.
To Reproduce To reproduce this behavior, setup a Morphir project and try visualizing this function.
Expected behavior Expect
longDecisionTree
to visualize without any issues.Environment
Additional context This problem doesn't occur in Morphir version 2.83.0, and even the current version (2.87.6) works fine for 15 branches or less but starts to show observable lags as branches increase above 17