scrollHeight set to 0 even though console.dir shows a value

后端 未结 0 677
轮回少年
轮回少年 2021-02-07 02:53

I\'m new to JS and am having difficulty with something that seems obvious. I want to reset the height of a textarea to fit the pre-populated content within it. For some reason

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