child: Semantics(
onIncrease: () {},
child: UiKitView(viewType: 'platform_text_field'),
),
Failed to failed to scroll to visible (by AX action) TextField, {{46.5, 115.0}, {300.0, 50.0}}, identifier: 'platform_view[0]', value: Platform Text Field, error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 88534, elementOrHash.elementID: 4546916864.36. (Underlying Error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 88534, elementOrHash.elementID: 4546916864.36)
Simply adding an action to an ancestor of a platform view should not alter the platform view's position on the screen.
Adding a
SemanticsActionto an ancestor node of an iOS platform view can cause the platform view to be incorrectly positioned.To reproduce:
cd dev/integration_tests/ios_platform_view_testsopen ios/Runner.xcworkspacein XcodePlatformViewUITestsUiKitViewin aSemanticswidget adding it any non-scrolling action (adjustingconstas needed), say,onIncrease, like so:Breadcrumbs:
isFocusable.Expected behavior
Simply adding an action to an ancestor of a platform view should not alter the platform view's position on the screen.