B
B
Boris the Animal2019-12-21 22:29:15
JavaScript
Boris the Animal, 2019-12-21 22:29:15

Auto-increasing search bar when the text fills it completely. How to create?

Hello. I need to make an auto-growing search bar that grows in height when the text gets larger than it fits in the width. Is there some simple way to do this?
I'm superficially versed in the web, I couldn't google anything sensible.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nadim Zakirov, 2019-12-21
@Casper-SC

There is an autosize plugin for the described purposes .

P
Petr Muhurov, 2019-12-23
@pterodaktil

<div contentEditable="true" />
Fix its width and release the height - everything works. There are no problems to style under the input

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question