Drag-n-Drop makes traditional UITableView reordering experience worse
| Originator: | an00na | ||
| Number: | rdar://33159371 | Date Originated: | July 6 2017, 11:41 AM |
| Status: | Closed | Resolved: | in iOS 11 beta 4 |
| Product: | iOS + SDK | Product Version: | 11.0 beta 2 |
| Classification: | UI/Usability | Reproducible: | Always |
Area:
UIKit
Summary:
When drag and drop are enabled on UITableView the traditional reordering operation using cell's reordering control becomes harder to trigger. It requires much longer time for the press on the reordering control to enter the ordering state.
It makes it very hard to offer the best experience to both advanced users(who prefers new iOS features like drag and drop) and traditional users(who may not even know about drag and drop). These traditional users may think it broken.
Actually the current behavior feels weird even to me as a developer. Why interaction on a explicit control doesn't feel immediate and direct but delayed and indirect as if the tap is on the cell?
I think the whole experience of reordering with reordering control should be exactly as before(including the movement limitation inside cell occupied region) and not routed via drag and drop at all.
Steps to Reproduce:
1. Launch sample app.
2. Tap Edit button.
3. Use reordering control to move cells. Feel the delay.
4. Comment out these lines in TableViewController.swift to disable drag and drop:
tableView.dragDelegate = self
tableView.dropDelegate = self
5. Repeat step 2 & 3 to see the expected behavior.
Code: https://mega.nz/#!Ea4QyCpA!tUMbC0DnGTwPaDb5WNsNYwMlXo1LG9pQE4-0TnmUUVE
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!