FluidGroup / Rideau

🎪 Rideau is a drawer UI similar to what Apple's apps use. (e.g Maps, Shortcuts) Supports multiple snap points
MIT License
502 stars 25 forks source link

TableView Delegate trailingSwipeActionsConfigurationForRowAt #57

Open ericji-o opened 6 months ago

ericji-o commented 6 months ago

Hello @muukii san

I found a crash issue in my current project.

Crash Condition

When the bodyViewController contains a tableView which supports left swipe gesture. will cause a crash issue in ScrollController.

Screenshot 2024-01-25 at 15 43 24

Video

I also mocked in the demo app. it seems after the tableView displays in the whole screen. Swipe gesture is captured by ScrollView so trailingSwipeActionsConfigurationForRowAt method cant respond. (Sometimes crash happened)

https://github.com/FluidGroup/Rideau/assets/25859011/02136ed6-f111-4a1a-aec7-1c0d1de7e162

Maybe there is a solution in the sdk or it's a rare case??

Thanks

spirit-jsb commented 2 months ago

You solved that problem, and I had a corresponding breakdown.