I am using modal window (with several richtexteditors) on the page with grid, and when i am closing the modal - it closes in several seconds, not instant.
Here you can see near the same demo (just without modal, but you can toggle richtexteditors by pressing "Toggle Editors" button).
2) click "Toggle Editors" button
3) change font size in one of the ejs-richtexteditors (i cannot repeat it in demo, but in my project it is no need to do this step)
4) click "Toggle Editors" button
Expected result: Editors will be hidden instantly
Actual result: Waiting several seconds before editors disappearing. (speed depends on computer hardware)
In the example, the browser recalculates styling of 1261 elements. (the more elements - the lower the speed)
Looks like isNullOrUndefined(this.element.offsetParent) in popup.js forces recalculate styling.
Can it be fixed in some way?