I need a text area that grows as the number of lines increases. As soon as lines are deleted, the TextArea should shrink again. In the best case with a maximum height.
How it works with Javascript I could already read here:textarea-to-resize-based-on-content-length
But in Blazor I have unfortunately, as far as I know, no "scrollHeight" available for the TextArea.
(My problem relates to the Blazor framework, which allows browser frontend development using C# (+HTML/CSS) and not a desktop UI like WPF/WinForms.)