angular-select2 icon indicating copy to clipboard operation
angular-select2 copied to clipboard

virtual keyboard popup on phones

Open mattiLeBlanc opened this issue 8 years ago • 3 comments

Hi,

I am following this long and old issue (https://github.com/select2/select2/issues/1541) about the virtual keyboard popping up when not using minimumResultsForSearch:-1.

Is there a way we can fix this with the directive? On guy suggested to set a focus on another element onchange (which to me doesn't make sense). However maybe we can do it on the event when the options list is rendered?

Anyway, I am not sure if it has been resolved in Select2 version 4 but since this directive is not yet supporting that I was wondering if there are solutions I / we can implement.

I found one fix:

$('select').on('select2:open', function(e) {
    $('.select2-search input').prop('focus',false);
})

and will try if this works. If so, maybe it could be an option?

cheers

mattiLeBlanc avatar Jul 06 '16 07:07 mattiLeBlanc

@mattiLeBlanc Yea, keyboard not show ... but if i click to search input is our problem back :(

landsman avatar Jul 29 '16 03:07 landsman

Do you have a better suggestion?

mattiLeBlanc avatar Jul 29 '16 04:07 mattiLeBlanc

Find a bug :|

landsman avatar Jul 30 '16 14:07 landsman