The default behavior of the textarea html element is to add a vertical scrollbar when the text inside it is too long.
We'd like the height to auto-expand as the user is typing to accommodate the entire text, if possible, but without exceeding the height of the current section.
The default behavior of the
textarea
html element is to add a vertical scrollbar when the text inside it is too long. We'd like the height to auto-expand as the user is typing to accommodate the entire text, if possible, but without exceeding the height of the current section.One example/starting code can be found here: https://svelte.dev/repl/40f4c7846e6f4052927ff5f9c5271b66?version=3.6.8
This component is part of the issue #163 flow