How do I disable the resizable property of a textarea?
Published
13 Dec 2022
Textarea resizing is a helpful UX feature when users are looking to post significant-sized content. As a general rule, you should allow resizing unless there is a specific reason or need to do so to accommodate your design.
When an element is resizeable, it has a little UI handle on a lower corner. The handle appears on the right on page elements when the page’s direction is set to ltr (left-to-right), and on the left on rtl (right-to-left) pages.
The CSS3 resize property controls if and how the user can resize an element by clicking and dragging the bottom right corner (on left-to-right page direction) of the element.

textarea resize handle
There are four allowable values for the resize property that are pretty self-explanatory:
none: the textarea is not resizeable.both: The user can resize both the textarea height and width.vertical: The user can resize the textarea height.horizontal: The user can resize the textarea width.
.defaultResizing { resize:both; }.noResizing { resize:none; }.verticalOnlyResizing { resize:vertical; }.horizontalOnlyResizing { resize:horizontal; }example resizing restriction classes
Instead of completely disabling resizing, it's often better practice to constrain the amount of resizing a user can do with the max-height, max-width, min-height, and min-width CSS properties.
.mixMaxVerticalResize { resize:vertical; min-height:100px; max-height:500px;}constrain rezize to within a min and max height.
Similar articles

AI Liability: Who Is Responsible When AI Gets It Wrong?
I'm a software engineer, not a lawyer. But I've been watching the AI liability conversation closely, and the gap between how AI systems actually work and how our legal system assigns blame is becoming a real operational problem for anyone deploying AI.
17 July 2026

Building Minesweeper in React, Part 1: Client-Side Architecture
Part 1: building a fully playable Minesweeper in React. Board generation, safe first click, flood fill, and Web Audio effects. Then examining what "client-side only" actually means for trust, cheating, and what breaks the moment you want a scoreboard.
16 July 2026

MCP Explained: How AI Models Talk to Your Tools (and What Comes Next)
MCP is the protocol that lets Claude, ChatGPT, and Gemini all talk to your GitHub repo, your database, and your calendar without three different integrations. It's not a ratified standard yet, it's a fast-moving spec under a young foundation, and it's about to change shape again.
15 July 2026

Sorting Algorithms Explained
Bubble, selection, insertion, merge, quick, and heap sort: how each one works, where it shines, where it struggles, and animated demos that run the real algorithm code on the same starting data every time.
13 July 2026
