This is fantastic. I remember having a requirement for this on a project some 2 years ago. The devs didn’t know how to do it easily and as always, they had bigger fish to fry. Glad to see this exists now.
No it didn’t work with React Native because it uses a bunch of browser APIs to measure the content size, but I hope someone will build an alternative for RN!