Select2: Alternating Auto-Focus between two Dropdown Menu

Hi Team,


I am using OS 10 and applied Select2 on two dropdown menu. Accessing the site at Chrome, it seems that auto-focus flickers alternately between the two dropdown menu. I have recorded video demo for reference.


Video Site

https://www.loom.com/share/8bcc774640504abd922715ee6c27e878

Video Inspect Element

https://www.loom.com/share/f0bb46899e9440c687bd9d4008128d38


If you check the inspect element, "select2-focused" is being added/removed alternately between the search input of the two dropdown menu.


Note: It seems that the autocomplete feature of Chrome may add to the issue as I tried to other desktop with no autocomplete, the issue do not show. I set "autocomplete" to "random" for both dropdown menu and still the flickering exists.


Please advise.


Regards,

John

Have you tried with any other browsers? Are the results the same?

Yes, I tried Edge and IE and working fine. Seems the only issue is Chrome where autocomplete was enabled.

G. Andrew Duthie wrote:

Have you tried with any other browsers? Are the results the same?

Have you encountered this issue as well?