angular-select2
angular-select2 copied to clipboard
virtual keyboard popup on phones
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 Yea, keyboard not show ... but if i click to search input is our problem back :(
Do you have a better suggestion?
Find a bug :|