Repository navigation
Commit 28a3425
committed
fix(mobile): Keep the last line of iOS markdown replies visible
iOS markdown rows could draw one line short, leaving blank space where
the last line of a paragraph belonged. The text view's container
followed the view's frame, which pixel rounding can leave a fraction of
a point shorter than the text the shadow node measured, and TextKit
drops a final line that does not fully fit. Size the container by hand
with unbounded height so the view's bounds do the clipping.1 parent 4ee6bfd commit 28a3425
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
314 | 320 | | |
315 | 321 | | |
316 | 322 | | |
| |||
477 | 483 | | |
478 | 484 | | |
479 | 485 | | |
| 486 | + | |
480 | 487 | | |
481 | 488 | | |
482 | 489 | | |
| |||
0 commit comments