wolffe / tail.select.js

Create beautiful, functional and extensive (multi)select fields with pure, vanilla JavaScript.
https://getbutterfly.com/tail-select/
MIT License
113 stars 17 forks source link

Tab button skip the tail.select field #14

Open supreetSekhon opened 2 years ago

supreetSekhon commented 2 years ago

Hi there,

I have multiple select fields with tail.select and when I use tab button to navigate between the fields tail.select fields are being skipped. Is this normal as I want the user to navigate with tab buttons as well. Kindly share the solution if anyone has as I searched the internet and found nothing.

Thanks in advance!!

befocken commented 2 years ago

I personally have had no problems with that so far. Are you sure that they are actually not selected? In my case the tail select fields do not look selected, though they are.

In general they should behave just as the regular select fields that they replace. You could try to check the tabindex of all your input and select fields. By default, they (the select as well as the tail select ones) should have a tabindex of 0.

Your code might be helpful to shed some light here.