Textarea without scrollbar

Asked

Viewed 2,517 times

0

Whenever you write inside a textarea, the scroll bar appears to scroll down and see the rest of the text.

What I want is for the textarea to automatically drop, like, when I’m typing inside the textarea, instead of showing the scrollbar, it will automatically descend.

I’m using HTML5 and CSS

  • 1

    Thus: http://jsfiddle.net/hozefa/8fv6e/

  • 1

    The question is the same as the other, don’t duplicate questions, go to the other question and explain better what you need if something is missing

2 answers

1

You can try "autoResize" with Jquery. So the textarea box will expand, without the scroll bar.

$('textarea').autoResize();

Or another simpler option is to set the scroll to Hidden.

 height: 75px;   
 overflow-y: hidden;

Here is a link with some examples.Examples

0

Use the property of css calling for overflow-y: scroll. That way you can do the textarea automatically descend.

#textAreaId{
   overflow-y: scroll;
   resize: none;
}
  • This almost... I want the textarea to automatically scan without showing that scroll bar!

  • Try to give a resize: none; together with the overflow-y: scroll;.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.