As per the video linked: on TextEdits on iOS devices, the FontSize and padding are unexcpectedly big when the input is not focused. When focussed, the input looks about the same as on non-iOS devices, but the padding is different. I am really not sure what to do to fix that.
edit: the upload didn’t work out, but here is a YT upload. Left is preview, right is iOS simulator: https://youtu.be/-xySfg96t_E
Here is the faulty code: putting a Rectangle inside the TextEdit causes the bad behaviour (but only in iOS).
<TextEdit Value="Blablablabla"
IsPassword="true">
<Rectangle Margin="-10,40,-10,0" Height="2" Background="#2366B4"></Rectangle>
</TextEdit>
Edit: actually no, even with the Rectangle outside I still have the same issue.
Hi!
Thanks for you report I think these issues are caused by our textrendering and TextInput
/TextEdit
on iOS and Android. The trick we use is when you focus a TextInput we overlay a os native TextInput and when its unfocused we switch to a textrenderer and render the text with OpenGL. Which means we are susceptible for these kinds of bugs.
However, this will be fixed in the next major release. Then its native all the way (instead of switching renderers we just render the native View via a GL texture)
Let me know if you have any further questions