mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Removes list-view selected state when rowHeight is set (#4725)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user