mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Always set clipToBounds for images, list-view and scroll-view
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user