It seems the functionality is meant to use tab/shift+tab to move between dropdown items. However, the page selection is still allowed to move to other surrounding inputs. Unfortunately, this has the side effect of leaving the dropdown menu open as you navigate. When you have multiple , this can cover up a lot of the page.
I think an option to turn off the current tab behaviour would be useful.
I have a crude workaround in the example for anyone who runs into this issue. A mousedown check is required because hiding the dropdown in the onBlur handler will prevent you from clicking options:
Thanks for your work on this library.
Demo here (click on the first input and tab through the elements): https://codesandbox.io/s/stoic-tdd-mkm61?file=/App.svelte
It seems the functionality is meant to use tab/shift+tab to move between dropdown items. However, the page selection is still allowed to move to other surrounding inputs. Unfortunately, this has the side effect of leaving the dropdown menu open as you navigate. When you have multiple , this can cover up a lot of the page.
I think an option to turn off the current tab behaviour would be useful.
I have a crude workaround in the example for anyone who runs into this issue. A mousedown check is required because hiding the dropdown in the onBlur handler will prevent you from clicking options: