albert.walickihire me
← all solutions
html

How to Disable the Resize of the <textarea> HTML Element?

To disable resizing of textarea, we need to set only one CSS property.

To disable resizing a <textarea> element in HTML, you can use the resize property and set it to none. Here is an example:

<textarea style="resize: none;"></textarea>

As a result, the user won't be able to resize the <textarea> element using the resize handle that, by default, appears in the component's bottom-right corner. Remember that this property does not affect other elements like <input>; only <textarea> components are.

more solutions
work with me

Got something that needs building?

Frontend builds, full-stack features in Django, design-system work. Available for work.

See my workGet in touch