Posts, a community app by Read.cv

Thread
joe

i have such a niche help request but… has anyone ever worked on chat-bubble text-wrapping? I’m trying to figure out the rules how iMessage wraps text tightly around its bubbles—it’s not just max-width and sometime the second line of a bubble is longer than the first!

 @
Replying to @joeytee

Commenting to sub to this. Someone reveal the secrets please.

joe

I thought maybe the first line’s break point was maybe being used to define max-width for subsequent lines text wrapping, but that still creates large rags!

 @
Replying to @joeytee

Nah it’s some magic for sure. I spent a solid hour trying to figure it out a couple weeks ago for my own app and ended up totally confused, and just settled on max-width.