Help: Bottom action sheet to support scrolling #237
Replies: 4 comments
-
I'll have to think about this. I understand the use case. Possibly interacting with scroll would be simpler than try to do it with drag... |
Beta Was this translation helpful? Give feedback.
-
Hey @elitenoire I was sort of waiting for the use case that would make me regret moving to PointerEvents and here it is (I'm half serious tho, PointerEvents make 90% of use cases easier to manage). Since PointerEvents get canceled as soon as the scroll is detected (that's a browser "feature"), the general recommendation is to use
Anyway, I realise this is a common gesture people want to implement I'll see what I can do to add an option to revert to TouchEvents that don't get canceled when scrolling. |
Beta Was this translation helpful? Give feedback.
-
Thank you for looking into this. I'm still using v7 in the actual implementation and still get results as the codesandbox in the sense that drag occurs before scroll gesture (I also tried the delay option for drag). If possible to show an example using the easiest means, I would appreciate your efforts. |
Beta Was this translation helpful? Give feedback.
-
Hi @elitenoire unfortunately I can't support v7, v8 is giving me enough headaches like this. But I've added a feature in It's far from perfect but have a look at this. It seems to be working fine on my iPad, but there's a bug on my iPhone that I can't locate at this point. |
Beta Was this translation helpful? Give feedback.
-
From the gesture example of the action sheet, how can I expand it to support content that scrolls/overflow.
I've tried but the drag gesture gets triggered before scroll gesture so there's a jerk.
I want drag to stop while scrolling the content.
codesandbox demo
Beta Was this translation helpful? Give feedback.
All reactions