mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Merge pull request #674 from NativeScript/nnikolov/ScrollToIndexAnimationIssue
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) {
|
||||
if (this._ios) {
|
||||
this._ios.scrollToRowAtIndexPathAtScrollPositionAnimated(NSIndexPath.indexPathForItemInSection(index, 0),
|
||||
UITableViewScrollPosition.UITableViewScrollPositionTop, true);
|
||||
UITableViewScrollPosition.UITableViewScrollPositionTop, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user