Skip to content

Commit

Permalink
fix: move “movestart” event call to a better place (#13528)
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Aug 18, 2022
1 parent 74b00ce commit be725e2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions iphone/Classes/TiUIListView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1102,12 +1102,9 @@ - (BOOL)canMoveRowAtIndexPath:(NSIndexPath *)indexPath
UIDragItem *dragItem = [[UIDragItem alloc] initWithItemProvider:itemProvider];
dragItem.localObject = identifier;

return @[ dragItem ];
}

- (void)tableView:(UITableView *)tableView dropSessionDidEnter:(id<UIDropSession>)session
{
[[self proxy] fireEvent:@"movestart"];

return @[ dragItem ];
}

- (void)tableView:(UITableView *)tableView dropSessionDidEnd:(id<UIDropSession>)session
Expand Down

0 comments on commit be725e2

Please sign in to comment.