sagalbot / vue-select

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.
https://vue-select.org
MIT License
4.63k stars 1.34k forks source link

fix(1213): Skip selecting on tab if component is not open #1787

Open theodinspire opened 1 year ago

theodinspire commented 1 year ago

Bug: If a user selected on option from a dynamically populated list, and then used tab to navigate components, the option that would appear first for an empty search term would be used instead.

Fix: This checks to see if the component is open when executing the onTab method.

theodinspire commented 1 year ago

Prevents issue #1213