.
I observe an issue in TextField - if it is empty, the cursor gets smaller/decreased.
This seems to be issue only with my proprietary font - the default font is ok. Anyway how to debug what's wrong?
Some font-metric could be off? But why it is present only with empty value?
Issue is similar to this fixed one.
cc @Siyamed
Jan Skrasek
06/20/2022, 2:22 PM
It seems that the state.layoutResult has different size when empty (height 38) vs non empty (height 44).
Jan Skrasek
06/21/2022, 10:13 AM
I've tried debugging and it seems that StaticLayout returns those different metrics with empty string. Anyway, I've created a reproduction and reported:
https://issuetracker.google.com/issues/236615813