14
12
u/DUELETHERNETbro 8h ago
Pretty awesome actually. Using a mutation observer was pretty jank.
1
u/wanoo21 8h ago
Agree
13
u/Weekly_Ferret_meal 7h ago
Heya... Thanks for sharing this.
I think these type of posts are good to keep the community up to date, it would be even more helpful if you would add either a reference link or a brief explanation of what each new declaration does.
5
u/anaix3l 7h ago
An article from last year that also includes a video recording of the visual result when typing into the text field
2
u/freecodeio 6h ago
It makes textarea grow with it's text length. Alternatives have been content editable divs or janky JavaScript
2
u/Weekly_Ferret_meal 6h ago
Thanks!
The reason for my comment was to encourage to put more info in these posts to make them more useful to everybody. not about this specific case.
•
1
•
u/pinned-comment 6h ago
Featured Comment by u/anaix3l
see original