You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2018/12/12 10:28:05 UTC

[GitHub] wqyfavor commented on a change in pull request #1902: * [iOS]ignore fixed element for interactionTime

wqyfavor commented on a change in pull request #1902: * [iOS]ignore fixed element for interactionTime
URL: https://github.com/apache/incubator-weex/pull/1902#discussion_r240957912
 
 

 ##########
 File path: ios/sdk/WeexSDK/Sources/Model/WXComponent.mm
 ##########
 @@ -595,6 +595,9 @@ - (BOOL)_insertSubcomponent:(WXComponent *)subcomponent atIndex:(NSInteger)index
     pthread_mutex_unlock(&_propertyMutex);
     
     if (subcomponent->_positionType == WXPositionTypeFixed) {
+        if(!subcomponent.ignoreInteraction){
+            subcomponent.ignoreInteraction = YES;
+        }
 
 Review comment:
   这个判断没用吧

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services