This pertains to OpenFL 8.9.6. With a certain input, TextField crashes at TextField.hx::__updateScrollV. The crash occurs in the following code:
var i = lineIndex, tempHeight = 0.0;
while (i >= 0)
{
if (tempHeight + __textEngine.lineHeights[i] <= height - 4)
{
tempHeight += __textEngine.lineHeights[i];
i--;
}
else
break;
}
because “i” goes out of boundaries of the __textEngine.lineHeights array. In order to reproduce the crash, create a TextField of type INPUT and enter 2 spaces. At this point the crash should occur.