mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Removed animation from scrollToIndex due to problems in iOS.
This commit is contained in:
@ -176,7 +176,7 @@ export class ListView extends common.ListView {
|
|||||||
public scrollToIndex(index: number) {
|
public scrollToIndex(index: number) {
|
||||||
if (this._ios) {
|
if (this._ios) {
|
||||||
this._ios.scrollToRowAtIndexPathAtScrollPositionAnimated(NSIndexPath.indexPathForItemInSection(index, 0),
|
this._ios.scrollToRowAtIndexPathAtScrollPositionAnimated(NSIndexPath.indexPathForItemInSection(index, 0),
|
||||||
UITableViewScrollPosition.UITableViewScrollPositionTop, true);
|
UITableViewScrollPosition.UITableViewScrollPositionTop, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user