Right now, "drag up to maximise" gesture has an small glitch, affecting user experience. In order to maximise, you have to drag the view directly up with zero movement on the X-axis, otherwise you initiate a horizontal drag instead of a vertical one.
I tried the youtube app side by side with my own app using draggable panel. In the youtube app, maximize gesture works perfectly when I drag the view vertically. The way they achieve this is with a minimum movement threshold on the horizontal axis. So unless you drag the view horizontally for a few inches, it doesn't initiate the horizontal drag. However, in draggablePanel, this threshold is too small.
Is there any way to configure drag gesture to define a minimum threshold for horizontal drag with this library?
Right now, "drag up to maximise" gesture has an small glitch, affecting user experience. In order to maximise, you have to drag the view directly up with zero movement on the X-axis, otherwise you initiate a horizontal drag instead of a vertical one.
I tried the youtube app side by side with my own app using draggable panel. In the youtube app, maximize gesture works perfectly when I drag the view vertically. The way they achieve this is with a minimum movement threshold on the horizontal axis. So unless you drag the view horizontally for a few inches, it doesn't initiate the horizontal drag. However, in draggablePanel, this threshold is too small.
Is there any way to configure drag gesture to define a minimum threshold for horizontal drag with this library?