TextArea cursor not updated after font size change
-
https://doc.qt.io/qt-5/qtquickcontrols-texteditor-example.html
When you change font size in document cursor is not updated until you click TextArea.
You can produce without typing any code as this: choose a text, open font dialog, increase font size to a big value then use Tab scroll until TextArea gets focus.
Or just add a button and change fontSize on click like this:
document.fontSize = 36
https://doc.qt.io/qt-5/qquicktextdocument.html
Maybe related to this because of this warning:
Warning: The QTextDocument provided is used internally by Qt Quick elements to provide text manipulation primitives. You are not allowed to perform any modification of the internal state of the QTextDocument. If you do, the element in question may stop functioning or crash.