logoalt Hacker News

dalmo3today at 7:00 PM0 repliesview on HN

This is awesome! I had this problem when building a datagrid where cells would dynamically render textarea. IIRC I ended up doing a simple canvas measurement, but I had all the text and font properties static, and even then it was hellish to get it right.