bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Gesture support for off canvas

Open jasny opened this issue 11 years ago • 2 comments

Use hammer.js, jQuery mobile swipe or some other lib to catch the swipe action. Show/hide the off canvas element based on the swipe similar to native behaviour.

Recommend including 3rth party library, but plugin should also work without.

jasny avatar Nov 21 '13 16:11 jasny

I've enclosed canvas in another div (height:100%) and set its overflow to hidden when the menu is revealed. That's only a quick hack really, although it seems to work well :)

planetbartoski avatar Jun 27 '14 11:06 planetbartoski

instead of only catching a swipe action, it could be cool if you could drag the actual menu to close. Mashable has it implemented in their mobile if you try it on an iphone.

buzzguy avatar Oct 29 '14 11:10 buzzguy