yaminncco / vue-sidebar-menu

A Vue.js Sidebar Menu Component
MIT License
646 stars 194 forks source link

Vue.js 3 version or the alpha version @toggle-collapse is not triggering #182

Closed reibanaag closed 3 years ago

reibanaag commented 3 years ago

Hi,

Good Day!

On your demo https://yaminncco.github.io/vue-sidebar-menu/#/ when collapsing the demo the values for collapsed is changing every time i click the collapse button the value for collapse is changing causing the container that contains the display to expand.

But on the -alpha version it seemed that the collapsed (A) is not changing anymore only the setup isCollapsed (B) is updating.

image

Then I tried to use the implement the toggle-collapsed method https://yaminncco.github.io/vue-sidebar-menu/#/events but the event is not triggering. it seemed that $emit is not working.