swipe icon indicating copy to clipboard operation
swipe copied to clipboard

Allow option to disable overscroll

Open chrisbanes opened this issue 2 years ago • 3 comments

Currently the draggable state is set to overscroll with resistance when the scroll isn't allowed (here). This can easily interfere with any parent horizontal gestures. Add an option to disable this?

chrisbanes avatar Jul 18 '23 15:07 chrisbanes

Sounds good! Do you want to send a PR?

I'm also curious about your usecase. Can you share a video?

saket avatar Jul 18 '23 15:07 saket

Sure. The use case is iOS gesture navigation: https://github.com/chrisbanes/tivi/pull/1379

chrisbanes avatar Jul 18 '23 15:07 chrisbanes

I was thinking more about this today. Shouldn't this be handled automatically by nested scroll? Horizontal gestures intended for the parent shouldn't reach your list items.

saket avatar Sep 22 '23 05:09 saket