Commit 05e19ddd authored by Carsten  Rose's avatar Carsten Rose
Browse files

Merge branch 'B9638-TextareaSizing' into 'master'

Now also listens for paste

See merge request !205
parents 0f2a10f0 d2121bbe
Pipeline #2793 passed with stages
in 2 minutes and 40 seconds
......@@ -48,7 +48,7 @@ $(document).ready( function () {
});
});
$('.qfq-auto-grow').on('input', function() {
$('.qfq-auto-grow').on('input paste', function() {
var newHeight = $(this).prop('scrollHeight');
var maxHeight = $(this).data('max-height') || 0;
if ($(this).outerHeight() < newHeight) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment