diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.mm b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.mm index 9f64a729a2..34694b5517 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/SemanticsObject.mm @@ -378,6 +378,11 @@ flutter::SemanticsAction GetSemanticsActionForScrollDirection( #pragma mark - UIAccessibilityElement protocol +- (void)setAccessibilityContainer:(id)container { + // Explicit noop. The containers are calculated lazily in `accessibilityContainer`. + // See also: https://github.com/flutter/flutter/issues/54366 +} + - (id)accessibilityContainer { if ([self hasChildren] || [self uid] == kRootNodeId) { if (_container == nil)