Open Hari-Muniganti opened 4 years ago
You can pass the handlers you want to use to the scrollbar. Leave out “keyboard“ and it will not be handled anymore.
scrollBar = new PerfectScrollbar(container, { handlers: ['click-rail', 'drag-thumb', 'wheel', 'touch'] });
Hope this helps.
Hi,
I am using vue-custom-scrollbar in an electron application. I am trying to prevent scroll when DOWN and UP arrow key is pressed. I have used e.preventDefault() and e.stopPropagation to stop scrolling but it is not working. Can you please tell me a solution for this.