Vue-select: Modal window closes, when I select item outside of bootstrap modal with vue select

Created on 30 Jul 2020  路  6Comments  路  Source: sagalbot/vue-select

Kapture 2020-07-30 at 20 56 39

Here you can see, that if I try to select value which is outside of modal window, modal closes then.
To Reproduce
Steps to reproduce the behavior:
You need to have select options outside of modal window

Expected behavior
Bootstrap doesn't need to close after selection

Please help me how to avoid this??

Desktop:

  • OS: MacOS
  • Browser Safari

Most helpful comment

Disabling transition worked for me transition="" https://vue-select.org/guide/css.html#dropdown-transition

All 6 comments

Same here on Chrome on Linux :/

Hi !
It's seems appear since version 3.10.7
So i've install version 3.10.6 : npm i [email protected]

same here on version 3.10.7

The most simple solution i can see is to add no-close-on-backdrop property to your b-modal. In that case you are going to need a cancel button or close "X" button on top right corner to close modal. That worked for me.

Disabling transition worked for me transition="" https://vue-select.org/guide/css.html#dropdown-transition

Disabling transition worked for me transition="" https://vue-select.org/guide/css.html#dropdown-transition

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mattWalters0 picture mattWalters0  路  3Comments

FrozenIce0617 picture FrozenIce0617  路  3Comments

davidalvarezr picture davidalvarezr  路  3Comments

ducdev picture ducdev  路  3Comments

FrancescoMussi picture FrancescoMussi  路  3Comments