Assigned
Status Update
Comments
ha...@google.com <ha...@google.com> #2
removed the dup; this is possibly about how android spans work on empty strings.
- the calculation in the composable level seemed correct but the layout was not
- it happens for a new line as well
- one problem with both includeFontPadding true/false is that the cursor height is possibly can be visually improved to match the text ascent/descent rather than line top/bottom (might be challenging)
si...@google.com <si...@google.com> #3
I do not fully understand your points, though I was wondering if a similar "trick" to measure "HHHHHHHHHHH" cannot be used here, because if I'm not mistaken the cursor gets drawn by text layout measuring on empty string.
no...@google.com <no...@google.com>
kl...@gmail.com <kl...@gmail.com> #4
StaticLayout does not call LineHeightSpan's for empty sstring (or the empty final line at the end of the string - a string that ends with "\n")
Description
Version used: 1.1.0-rc01
Devices/Android versions reproduced on: API21, 22, 23
Reopen the issue below:
It's still not working when using 1.1.0-rc01