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

Select drop down causing modal closed

Open ghost opened this issue 8 years ago • 4 comments

As shown in the following figure, when I select the drop-down value will trigger the click event and the pop-up window(modal) will closed。 qq 20170117111640

ghost avatar Jan 17 '17 03:01 ghost

Hello,

I got this similar behaviour - is there any ways to avoid closing of the modal window?

jenoforizs avatar Apr 13 '17 12:04 jenoforizs

Okay, found it: ':backdrop="false"' will stop closing the modal window if click happened out of the window

jenoforizs avatar Apr 13 '17 13:04 jenoforizs

thank you very much,':backdrop="false" can solve this problem

2017-04-13 21:02 GMT+08:00 Jenő Fórizs [email protected]:

Okay, found it: ':backdrop="false"' will stop closing the modal window if click happened out of the window

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yuche/vue-strap/issues/446#issuecomment-293888906, or mute the thread https://github.com/notifications/unsubscribe-auth/ADeeaMB83xz9mx-Dk8heG8nhSIpmb__1ks5rvhztgaJpZM4LlMGc .

ghost avatar Apr 18 '17 00:04 ghost

If you still want the backdrop and fix the dropdown/select issue you can modify the dropdown/select so that the @click is @click.prevent

danikristiansen avatar Apr 21 '17 06:04 danikristiansen