Side Menu not working on devices


The Side Menu fails to open initially when the app starts. But after clicking on a text box (which re-sizes the view port?) it started working properly.

Problem was in the drag event where value of condition
!e.gesture.srcEvent.defaultPrevented was coming up false in case of mobile devices.

After removing a condition from source code (this.isDraggableTarget function), it started working correctly.

I would like to know how can I achieve this without changing source code.


could you create a codepen?