slideout icon indicating copy to clipboard operation
slideout copied to clipboard

Cancelling pull / infer action from direction of pull

Open frumbert opened this issue 7 years ago • 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.

frumbert avatar Sep 13 '17 22:09 frumbert

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.

Velora avatar Aug 19 '18 17:08 Velora