-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Hi,
I am following this long and old issue (select2/select2#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
landsman
Metadata
Metadata
Assignees
Labels
No labels