Select2 lose focus while multi-tagging


I have a strange behaviour of Select2 in my project.

I have

"select2": "^4.0.13"

this is how it is initialised

$('.js-select-tags').select2({tags: true, multiple: true, tokenSeparators: [',', ' ']});

And I am losing focus, when I writing tags

I have recode a 500kb video

any ideas why this issue may be ?