Github user cxfeng1 commented on a diff in the pull request:

    https://github.com/apache/incubator-weex/pull/149#discussion_r108164541
  
    --- Diff: ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m ---
    @@ -205,6 +205,10 @@ - (void)_layoutDidFinish
             [self.ancestorScroller adjustSticky];
         }
         
    +    if (0 == [[self.view subviews] count]) {
    +        self.view.isAccessibilityElement = YES;
    +        self.view.accessibilityFrame = [[self.view superview] 
convertRect:self.calculatedFrame toView:nil];
    +    }
    --- End diff --
    
    You do not have to set this property for an accessibility element that 
represents a subclass of UIView, because such an object’s screen coordinates 
are already known.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to