This is an automated email from the ASF dual-hosted git repository.

moshen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git


The following commit(s) were added to refs/heads/master by this push:
     new 6eac6a7  Revert "[iOS] set instance frame when relayout"
     new e25faee  Merge pull request #3274 from jianhan-he/master
6eac6a7 is described below

commit 6eac6a71088d7c9a31d25629639c257e9b34e093
Author: linghe.lh <[email protected]>
AuthorDate: Fri Sep 25 14:11:35 2020 +0800

    Revert "[iOS] set instance frame when relayout"
    
    This reverts commit 2681e92a4b6e26605fa0d3c0148afb3fada3aeee.
---
 ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm 
b/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm
index 111ebdf..9f89fcb 100644
--- a/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm
+++ b/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm
@@ -796,7 +796,6 @@ static NSThread *WXComponentThread;
                 CGRect rect = self.weexInstance.rootView.frame; // no change 
of origin
                 rect.size = frame.size;
                 self.weexInstance.rootView.frame = rect;
-                self.weexInstance.frame = rect;
             }
         });
     }

Reply via email to