1
0
mirror of synced 2024-11-26 06:46:04 +03:00

Prevent the cursor from setting it to initial position in IE

This commit is contained in:
Matthias Kurz 2014-04-03 12:19:37 +02:00
parent 937aaa1737
commit dcabde40c3

View File

@ -1221,6 +1221,9 @@ the specific language governing permissions and limitations under the Apache Lic
dropWidth = $dropdown.outerWidth(false); dropWidth = $dropdown.outerWidth(false);
enoughRoomOnRight = dropLeft + dropWidth <= viewPortRight; enoughRoomOnRight = dropLeft + dropWidth <= viewPortRight;
$dropdown.show(); $dropdown.show();
// fix so the cursor does not move to the left within the search-textbox in IE
this.focusSearch();
} }
if (this.opts.dropdownAutoWidth) { if (this.opts.dropdownAutoWidth) {