vue-multiselect icon indicating copy to clipboard operation
vue-multiselect copied to clipboard

Crash with selection slot template and tab key

Open adamsol opened this issue 4 years ago • 2 comments

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.

adamsol avatar May 27 '20 10:05 adamsol

Me too with Asynchronous select... search for item, click on option and then browser freezes

PasiDaniele avatar Jun 17 '20 20:06 PasiDaniele

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.

mattelen avatar Nov 25 '22 17:11 mattelen