1
0
mirror of synced 2024-11-29 16:16:02 +03:00

Merge pull request #2238 from mkurz/focus-fix

Prevent the cursor from setting it to initial position in IE
This commit is contained in:
Kevin Brown 2014-04-03 09:01:30 -04:00
commit 0d06066331

View File

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