UITableView-Reorder icon indicating copy to clipboard operation
UITableView-Reorder copied to clipboard

Snapshot appearing at the wrong location with UITableViewAutomaticDimension affected to rowHeight

Open nico75005 opened this issue 10 years ago • 4 comments

On the demo project, add

self.tableView.rowHeight = UITableViewAutomaticDimension; self.tableView.estimatedRowHeight = 44.0;

in viewDidLoad of FirstTableViewController and run the project.

Go to the tabBarItem first and then scroll to the bottom and make a longPress on any visible row. The first long press will have the snapshot appearing in a wrong location. Do it again and it's okay except there is quick and small move down and up of the whole tableView. I noticed it only appears when the last row is visible.

nico75005 avatar Apr 06 '15 08:04 nico75005

Any thoughts?

nico75005 avatar May 05 '15 02:05 nico75005

Sorry, I have not yet had a chance to look into to. What do you think is going on?

On 5/4/15 10:28 PM, nico75005 wrote:

Any thoughts?

— Reply to this email directly or view it on GitHub https://github.com/LavaSlider/UITableView-Reorder/issues/5#issuecomment-98912257.

LavaSlider avatar May 05 '15 13:05 LavaSlider

I don't really know, I didn't really look deeply into the code as I am kind of allergic to objective-c so I was hopping actually you might be aware of such a problem.

nico75005 avatar May 05 '15 13:05 nico75005

Sorry, I am not aware of such a problem but I will try and take a look at it. One thing to try is to #ifdef out the specific code for long-press re-ordering and make sure everything works properly when using Apple's builtin reordering while editing. If that works fine, but the long-press version still doesn't, then there is definitely something to fix.

On 5/5/15 9:25 AM, nico75005 wrote:

I don't really know, I didn't really look deeply into the code as I am kind of allergic to objective-c so I was hopping actually you might be aware of such a problem.

— Reply to this email directly or view it on GitHub https://github.com/LavaSlider/UITableView-Reorder/issues/5#issuecomment-99077019.

LavaSlider avatar May 05 '15 21:05 LavaSlider