Fixed Event listener description resize crash

Lukas W.

Well-known member
Affected version
2.0.0 RC 3
In ACP -> Development -> Code event listener -> Add code event listener, quickly traversing through the available listeners using the arrow keys will result in a crash for the description container resize script. Once this happens, the script will no longer apply the correct height, most of the time causing the description to be cut off, sometimes to overflow.

This happened on Chrome 62.0.3202.94 (Official Build) (64-bit), Win 10 as well as Firefox 56.0.1 (64-bit).

yS9t2Z3.png
 
This is fixed now, actually in a couple ways. Significantly, I've changed how or JS slide down+fade in (and inverse) animations trigger which means that they play more nicely with others. That actually appears to solve the issue itself.

There are actually a few other quirks with the JS that was being used here that could actually lead to the wrong description being displayed. This should be fixed now and quickly moving through all of the select options won't trigger constant Ajax requests (until you settle on one for a bit).
 
Top Bottom