Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 745a79f commit f5cca13Copy full SHA for f5cca13
tns-core-modules/ui/core/view/view.ios.ts
@@ -154,7 +154,8 @@ export class View extends ViewCommon {
154
}
155
156
public _setNativeViewFrame(nativeView: UIView, frame: CGRect): void {
157
- if (!CGRectEqualToRect(nativeView.frame, frame)) {
+ let oldFrame = this._cachedFrame || nativeView.frame;
158
+ if (!CGRectEqualToRect(oldFrame, frame)) {
159
if (traceEnabled()) {
160
traceWrite(this + " :_setNativeViewFrame: " + JSON.stringify(ios.getPositionFromFrame(frame)), traceCategories.Layout);
161
0 commit comments