Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,14 @@ - (void)updateState:(const State::Shared &)state oldState:(const State::Shared &
const auto &newData = std::static_pointer_cast<const ParagraphShadowNode::ConcreteState>(state)->getData();
const auto &oldData = std::static_pointer_cast<const ParagraphShadowNode::ConcreteState>(oldState)->getData();
if (!newData.attributedString.isContentEqual(oldData.attributedString)) {
// Changes inside a hidden subtree must not interrupt VoiceOver on visible content.
UIView *view = self;
while (view != nil) {
if (view.accessibilityElementsHidden) {
return;
}
view = view.superview;
}
UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, nil);
}
}
Expand Down
Loading