yaminncco / vue-sidebar-menu

A Vue.js Sidebar Menu Component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scroll Bar not displaying for sidebar menu

sushen25 opened this issue · comments

Trying to display a scroll bar for the sidebar dropdown menu but it's not displaying (see attached video)

Using sidebar component in Vue:

<sidebar-menu
        :menu="menuItemsJson"
        :collapsed="collapsed"
        theme="white-theme"
        relative
        disable-hover
>

My styles to get scrollbar to show:

.v-sidebar-menu > .vsm--mobile-item > .vsm--dropdown {
    overflow-y: scroll !important;
}

For some reason if I disable the styles in chrome console and turn them on again the scroll bar displays (see attached video)

Screen.Recording.2021-02-23.at.3.16.56.pm.mov

i don't know what the cause is but its seem you are using an old version try to update the lib and see if the issue persists

I've updated the lib and the issue still persists

is the issue only on touch screen what about testing on different browser or on an actual mobile device