Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 2a9fed8

Browse files
authored
Made [SemanticsObject setAccessibilityContainer] a noop. (#19249)
1 parent 20ca6c9 commit 2a9fed8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

shell/platform/darwin/ios/framework/Source/SemanticsObject.mm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,11 @@ - (CGRect)globalRect {
378378

379379
#pragma mark - UIAccessibilityElement protocol
380380

381+
- (void)setAccessibilityContainer:(id)container {
382+
// Explicit noop. The containers are calculated lazily in `accessibilityContainer`.
383+
// See also: https://github.com/flutter/flutter/issues/54366
384+
}
385+
381386
- (id)accessibilityContainer {
382387
if ([self hasChildren] || [self uid] == kRootNodeId) {
383388
if (_container == nil)

0 commit comments

Comments
 (0)