You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When not using Yoga a display views accessibilityElements isn't cleared when a node's layout is changed. If you add nodes during the layout transition, new nodes aren't accessible.
Looks like Yoga works correctly with calculateLayoutFromYogaRoot: implementing the following...
// Reset accessible elements, since layout may have changed.
ASPerformBlockOnMainThread(^{
[(_ASDisplayView *)self.view setAccessibilityElements:nil];
});
Curious where is best to call similar logic in the non Yoga layout code?
The text was updated successfully, but these errors were encountered:
When not using Yoga a display views accessibilityElements isn't cleared when a node's layout is changed. If you add nodes during the layout transition, new nodes aren't accessible.
Looks like Yoga works correctly with calculateLayoutFromYogaRoot: implementing the following...
Curious where is best to call similar logic in the non Yoga layout code?
The text was updated successfully, but these errors were encountered: