somewebmedia / hc-offcanvas-nav

JavaScript library for creating toggled off-canvas multi-level navigations, allowing endless nesting of submenu elements, supporting swipe gestures, keyboard interactions and ARIA attributes.
https://somewebmedia.github.io/hc-offcanvas-nav/
MIT License
336 stars 82 forks source link

Right swipe gesture does not work #63

Closed telinger closed 3 years ago

telinger commented 3 years ago

Hello, first of all I would like to thank you for awesome mobile menu, I really like it. I noticed that swipe gesture from right side does not work in our project. I found out the same problem in your demo (https://somewebmedia.github.io/hc-offcanvas-nav/). When you disable push content setting and set position: left, swipe gesture works but if you change position to right, swipe gesture does not work anymore. Same problem is present when pust content is active and position is set to right, if it is left it also works as intended. Thank you.

somewebmedia commented 3 years ago

Fixed with the latest version.