Always set clipToBounds for images, list-view and scroll-view

This commit is contained in:
vakrilov
2017-03-17 15:22:30 +02:00
parent cc96fd0cfe
commit f29f7cb607
4 changed files with 36 additions and 19 deletions

View File

@@ -217,6 +217,12 @@ export class ListView extends ListViewBase {
this._delegate = UITableViewDelegateImpl.initWithOwner(new WeakRef(this));
this._heights = new Array<number>();
this._map = new Map<ListViewCell, View>();
this._setNativeClipToBounds();
}
_setNativeClipToBounds() {
// Always set clipsToBounds for list-view
this._ios.clipsToBounds = true;
}
public onLoaded() {