Autocomplete requires you to click twice in iOS after update to 1.11.0

前端 未结 12 1189
野趣味
野趣味 2020-12-01 02:41

Using jQuery 2.1.0 and jQuery.ui 1.11.0 Tested in iOS 7. iPhone and iPad Mini. Works on android and regular browsers.

The problem

We recently upgraded from

12条回答
  •  臣服心动
    2020-12-01 03:08

    I´m working with jQuery UI with and cordova, and I have the same problem in the app, my solution for that problem is this:

    $('.ui-autocomplete').mouseenter( function( e ){
        e.preventDefault();
        e.stopPropagation();
    });
    

    This stop the focus on the selected item.

提交回复
热议问题