yuche / vue-strap

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

proposed fix for #452 #511

Closed daetal-us closed 6 years ago

daetal-us commented 6 years ago

passing the element via this context in event handle binding seems broken. passing native event instead. fixes #452

arcisd commented 6 years ago

It fixed the problem, however the statement "this.displayDayView=false" is not hidding the component. It is really strange because if I use "console.log(this.displayDayView)" it really outputs "false".