mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-29 23:14:55 +01:00
Fix auto-focus in ricerca Select
This commit is contained in:
parent
50d28dde7b
commit
e6750d7311
@ -106,5 +106,5 @@ $(document).ready(function () {
|
||||
* TODO: Recheck with the select2 GH issue and remove once this is fixed on their side
|
||||
*/
|
||||
$(document).on('select2:open', () => {
|
||||
document.querySelector('.select2-search__field').focus();
|
||||
document.querySelector('.select2-container--open .select2-search__field').focus();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user