sberrevoets / SDCAlertView

The little alert that could
MIT License
1.86k stars 297 forks source link

Avoid ActionSheetView from consuming all pan events #323

Closed yccheok closed 3 years ago

yccheok commented 3 years ago

Avoid ActionSheetView from consuming all pan events without passing to custom view.

With the above patch, we can implement the feature as shown in https://www.youtube.com/watch?v=pBrHFcvpb98

sberrevoets commented 3 years ago

Can you demonstrate how this works when an action sheet has multiple buttons and the user slides a finger from one button to the other? If that works I think this is good to go.

yccheok commented 3 years ago

Hi try to run my changes along with your example.

I do the following video recording.

https://user-images.githubusercontent.com/308276/125091827-5b6db500-e103-11eb-9f96-2dafb8039c1a.mov

Does it look good to you?

Thanks.

sberrevoets commented 3 years ago

Yep looks great, thanks!