'Vaadin Flow 23 - resizable text area

I'm building a page to enter a blog using Vaadin Flow 23.

Using TextArea I need to either expand the TextArea to fill the available space or make it so the user can resize the text area by clicking the bottom right-hand corner and dragging (or similar).

The problem is that I'm using the TextArea inside a FormLayout. The FormLayout doesn't support 'expand()' or similar and the TextArea lacks the bottom corner drag point we see in many text editors.

I can't remove the FormLayout but am otherwise open to suggestions.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source