HTML Textarea auto-width with custom font returns wrong scrollWidth initially

后端 未结 0 2064
后悔当初
后悔当初 2021-02-20 04:58

I have a textarea which I want the width & height to grow/shrink as user types in it. While most solutions on stack overflow are regarding height auto-grow, I have used the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题