yuche / vue-strap

Bootstrap components built with Vue.js
http://yuche.github.io/vue-strap/
MIT License
4.72k stars 933 forks source link

Vue modal not work properly #416

Open mrpehlivan opened 7 years ago

mrpehlivan commented 7 years ago

Hi there , When i open modal panel more than one it is not work. Do you have any idea ? I use last version.

daddou-ma commented 7 years ago

I had the same problem i think it is in these lines of code vue-strap/src/Modal.vue:118

$(el).removeClass('in').on('transitionend', () => { $(el).off('click transitionend') el.style.display = 'none' })

starting from the second open it turn the display css property of the modal to none Even though the show value is true.

you can use an older version "1.1.29" instead of the last one (the modal work properly)

antongorodezkiy commented 7 years ago

@mrpehlivan +1

@Mohamed-El-Amine-D thanks, worked for me

mrpehlivan commented 7 years ago

+1 thanks

GeeksRock commented 7 years ago

Another +1. Just the answer I was looking for. Thanks!

daddou-ma commented 7 years ago

You're Welcome ^^