SKSTableView icon indicating copy to clipboard operation
SKSTableView copied to clipboard

Error When Clicked Expandable Row While Another Row Expanded (BUG)

Open ismaiI1 opened this issue 8 years ago • 2 comments

I set _shouldExpandOnlyOneCell=YES

when I expand i row, if clicked another expandable row tableview detect it as a subrow.

I mean correspondingIndexPath.subRow not 0 for expandable row.

Edit : Abi Türkmüşsün ya :D ben düzelttim bu sıkıntıyı, pull requestle ekledim. #50

  NSIndexPath *correspondingIndexPath = [self correspondingIndexPathForRowAtIndexPath:indexPath];

 if (correspondingIndexPath.subRow == 0)
 {          
       [_SKSTableViewDelegate tableView:tableView didSelectRowAtIndexPath:correspondingIndexPath];
 } else {
       [_SKSTableViewDelegate tableView:self didSelectSubRowAtIndexPath:correspondingIndexPath];
 }

ismaiI1 avatar Apr 12 '16 11:04 ismaiI1

Hi,

I am getting same issue, any clue...

BhaveshDhaduk avatar May 14 '16 12:05 BhaveshDhaduk

@googler2013 i found the solution. please follow #50

ismaiI1 avatar May 17 '16 05:05 ismaiI1