vue-multiselect
vue-multiselect copied to clipboard
Crash with selection slot template and tab key
Reproduction link
https://jsfiddle.net/nshqy2ju/3/
Steps to reproduce
Click the first element and press Tab.
Expected behaviour
The element should lose focus.
Actual behaviour
Application freezes. The issue exists in versions from 2.1.1 to 2.1.6.
In the fiddle only the iframe freezes. In my application I had to kill the browser's process, because I couldn't close or reload the tab, and it used a lot of CPU.
I've found the bug while trying to hide the selection tags when the dropdown is open. I took the idea from https://vue-multiselect.js.org/#sub-multiple-select.
Me too with Asynchronous select... search for item, click on option and then browser freezes
This doesn't seem to be an issue with Vue 3 (https://jsfiddle.net/h54rw27a/5/) so I don't think its worth our time investigating why this is happening, and that the best way to avoid this bug is to upgrade to Vue 3 (if that is possible with your tech stack).
I'm going to leave this issue open for now, but I think its low priority to fix.