Mango/slideout

Cancelling pull / infer action from direction of pull

frumbert opened this issue · 1 comments

If I start to pull the menu open then decide I don't want to and push it back closed again, it pops open. If I start to close a menu then decide to leave it open and hence pull it open again, it pops shut. The action doesn't seem to be inferred from the direction of pull.

If I'm understanding the problem correctly, there is already a solution to adjust this behavior. You can adjust the tolerance option to a higher value. The default is 70 which means that once the menu is open 70 pixels, it will stay open and complete the animation. If you make this value higher or lower, then you can adjust the amount that you will have to pull the menu open to keep it that way.