[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.
This commit is contained in:
Géry Debongnie
2016-02-17 14:24:09 +01:00
parent 891ab5bc36
commit be3f7ea433
+1 -1
View File
@@ -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 = $('<textarea>').css({
$fixed_text_area = $('<textarea disabled>').css({
position: 'absolute',
opacity: 0,
height: 10,