Removes list-view selected state when rowHeight is set (#4725)

This commit is contained in:
Hristo Hristov
2017-08-22 09:50:54 +03:00
committed by GitHub
parent 6e06eba218
commit 9bcf4ef460

View File

@@ -186,6 +186,12 @@ class UITableViewRowHeightDelegateImpl extends NSObject implements UITableViewDe
} }
return indexPath; return indexPath;
} }
public tableViewDidSelectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): NSIndexPath {
tableView.deselectRowAtIndexPathAnimated(indexPath, true);
return indexPath;
}
public tableViewHeightForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): number { public tableViewHeightForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): number {
let owner = this._owner.get(); let owner = this._owner.get();