retejs / context-menu-plugin

https://retejs.org
MIT License
11 stars 43 forks source link

Scrolling in the context menu #31

Closed verloka closed 4 years ago

verloka commented 4 years ago

Scrolling in the context menu does not work. The sub-menu is long, so I made the height equal to 350 pixels, and scrolling doesn't work in the menu, it works in the area. presentation

Ni55aN commented 4 years ago

https://github.com/retejs/context-menu-plugin/issues/23

verloka commented 4 years ago

23

so, do i need a new vue component?

verloka commented 4 years ago

scrolling not working, scroll bar exists

Ni55aN commented 4 years ago

I added stopPtopagation() for wheel event in v0.6.0-rc.1. This fixes the issue with scrolling, but changes the behavior when scrolling is not active - area will not be zoomed when context menu has no scroll, also a parent element with scrolling will scroll.