Reputation: 33
I am developing an angular 4 project in that I have to create resizeable textarea only vertical in IE, It is working in chrome and another browser.
I have found some Jquery plugin for resizing in IE but it is not supporting for only vertical and I have multiple textarea in the same page.
CSS
.resizable {
resize: vertical;
min-height:150px;
}
HTML:
<textarea class="resizable">
This paragraph is resizable in all directions, because
the CSS `resize` property is set to `both` on this element.
</textarea>
Upvotes: 3
Views: 4696
Reputation: 2645
You cannot use resize in IE
https://caniuse.com/#feat=css-resize
You can use jQueryUI Resizable for textareas.
Include jQuery UI library in your project
then in your jquery code call the line below
$("#textareaId").resizable({ });
Upvotes: 2