vue-tags-input icon indicating copy to clipboard operation
vue-tags-input copied to clipboard

add-on-key "Tab" breaks autocompleteOpen

Open stackoverfloweth opened this issue 5 years ago • 0 comments

With this propadd-on-key="[13,9]" I can add tags from my autocomplete dropdown with a tab press. The behavior itself works as expected, I can arrow-down to an item or mouse hover and press tab to insert the tab. It correctly keeps the focus within the tabs-input, however the autocomplete window no long opens until you blur and re-focus manually.

Version 2.1.0

Example http://jsfiddle.net/stackoverfloweth/soj6u9mv/4/embedded/js,html,result/

1.) focus the tags input 2.) type "a" to get some results 3.) arrow-down or hover one of the results 4.) use "tab" key to insert the selected tab 5.) try typing any character to re-open autocomplete items

stackoverfloweth avatar Jan 24 '20 14:01 stackoverfloweth