From be3f7ea433c912c670e17e622c062b281843aa71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Wed, 17 Feb 2016 13:56:27 +0100 Subject: [FIX] web: prevent focus issue with autoresize The copied textarea used in autoresize was a valid target for focus when using the tab key. This is a major issue in editable list views, because when the user leaves a textarea, the list view jumps up, with no visible focused field. --- addons/web/static/src/js/framework/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/js/framework') diff --git a/addons/web/static/src/js/framework/utils.js b/addons/web/static/src/js/framework/utils.js index a0ab37a7dfb..c1b9758b625 100644 --- a/addons/web/static/src/js/framework/utils.js +++ b/addons/web/static/src/js/framework/utils.js @@ -468,7 +468,7 @@ function autoresize ($textarea, options) { var $fixed_text_area; var min_height = (options && options.min_height) || 50; if (!$fixed_text_area) { - $fixed_text_area = $('