Skip to content

UiKitView not releasing gestures when in a stack #28659

Closed

Description

@amirh

Consider the following snippet:

  Stack(
    alignment: AlignmentDirectional.center,
    children: <Widget>[
      UiKitView(/*...*/),
      Container(
        color: Colors.orange,
        width: 200,
        height: 200,
      ),
    ],
  );

Pointers that hit the container are not passed to RenderUiKitView, but on the platform side the FlutterTouchInterceptingView wrapping the UIView will block the touch sequence until the framework says to release it.
Since RenderUiKitView doesn't see the touch sequence it never sends the command to release the gesture.

cc @cyanglaz

Activity

  1. added this to the April 2019 milestone on Feb 28, 2019
  2. self-assigned this
    on Feb 28, 2019
  3. github-actions commented on Aug 30, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

a: platform-viewsEmbedding Android/iOS views in Flutter appspackageflutter/packages repository. See also p: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions