這個專案展示了一個自動增長的 textarea 元件,該元件會根據內容自動調整高度,確保所有文字可見,無需滾動。 This project ...
It seems that there is issue calculating the input height when overriding font-size with a new font-size where value is set using css-variable. Happens to me only in Edge. See here for reproduction.