Testing on OpenFL 8.2.2 & 8.3.0
Not sure if this is purely related to html5 yet, not tested other targets, but there still appears to be an issue relating to TextFields, and in particular related to scrolling with scrollV, which I couldn’t get to work.
Adding a line to a textField and incrementing it’s scollV by 1 always returned a scrollV of 1, and therefore wouldn’t scroll.
I also found maxScrollV always returns 1, which is an issue as scrollV is limited to maxscrollV in TextField.hx…
if (value > __textEngine.maxScrollV) value = __textEngine.maxScrollV;
Changing this to…
if (value > __textEngine.numLines) value = __textEngine.numLines;
and scrollV now works, but obviously doesn’t resolve the issue with the value returned by __textEngine.maxScrollV or something I’ve not considered.
Any insights?