Skip to content

A uikitview is below B uikitview, but A uikitview is refreshed, so that B uikitview cannot respond to the click event #118366

Closed
flutter-team-archive/engine
#39527

Description

@chikang

step:
1: Click the "Click Me" button, and a red B_uikitView native control pops up.
2: Then wait 5 seconds and the A_uikitView native control will show up,
3: At this point, the red B_uikitView native button is unresponsive

red button dont click!!!!!! why!!!!

my demo

UIKitViewDemo.zip

Activity

  1. chikang commented on Jan 12, 2023

    @chikang
    Author

    20230112-121526

  2. chikang commented on Jan 12, 2023

    @chikang
    Author

    problem : When the red view comes out, the green button cannot be clicked

  3. added
    in triagePresently being triaged by the triage team
    on Jan 12, 2023
  4. exaby73 commented on Jan 12, 2023

    @exaby73
    Member

    I can reproduce this issue with the steps above. This may be a duplicate of #37579 but I cannot be certain of it. Labeling for further insights from the team

  5. added
    platform-iosiOS applications specifically
    frameworkflutter/packages/flutter repository. See also f: labels.
    a: platform-viewsEmbedding Android/iOS views in Flutter apps
    has reproducible stepsThe issue has been confirmed reproducible and is ready to work on
    and removed
    in triagePresently being triaged by the triage team
    on Jan 12, 2023
  6. chikang commented on Jan 13, 2023

    @chikang
    Author

    This doesn't look like #37579,My problem is inevitable, and a demo is provided,so,how to solve this problem?

  7. exaby73 commented on Jan 16, 2023

    @exaby73
    Member

    @chikang The team has yet to look at this issue and prioritize it. Unfortunately, the only thing to do is wait for that to happen

  8. chikang commented on Jan 16, 2023

    @chikang
    Author

    @chikang The team has yet to look at this issue and prioritize it. Unfortunately, the only thing to do is wait for that to happen

    Well, I hope to hear from you soon @exaby73

  9. hellohuanlin commented on Jan 17, 2023

    @hellohuanlin
    Contributor

    Did some initial investigation. From the debug view it looks like the green box is on top of the button:

    Screenshot 2023-01-17 at 1 02 24 PM

    However, in the actual screen, the red button is not covered by the green box. So my guess is that flutter's platform view actually crop out the central area of green box so that it doesn't cover the red button.

    simulator_screenshot_34614D99-00AB-4302-9225-259C16E724D1

    @cyanglaz probably has more insight?

  10. 5 remaining items

  11. chikang commented on Jan 30, 2023

    @chikang
    Author

    How can red view get click events?

  12. chikang commented on Jan 30, 2023

    @chikang
    Author

    Is there a widget or API to solve this problem?

  13. KenwayDev commented on Jan 31, 2023

    @KenwayDev

    img_v2_d8ff81b8-43a3-4cc2-8011-b4583bef3fag

    I had the same problem:
    The view in flutter is presented as half screen black at the top of the screen, and the view is a WKWebview. But as you can see from the Xcode view hierarchy, half a screen of WKWebview is blocked by another UIView. The event in WKWebview is now unclickable。

    @exaby73

  14. added
    P1High-priority issues at the top of the work list
    and removed
    P2Important issues not at the top of the work list
    on Feb 1, 2023
  15. self-assigned this
    on Feb 1, 2023
  16. hellohuanlin commented on Feb 9, 2023

    @hellohuanlin
    Contributor

    Is there any progress?

    Hi, I got some good leads on this issue, but later got pulled into another issue so I paused it. Will resume after that issue is resolved.

  17. hellohuanlin commented on Feb 9, 2023

    @hellohuanlin
    Contributor

    @chikang yep, from where i left off, it should be solvable if im not mistaken.

  18. chikang commented on Feb 9, 2023

    @chikang
    Author
  19. jmagman commented on Feb 9, 2023

    @jmagman
    Member

    @chikang please refer to https://github.com/flutter/flutter/wiki/Issue-hygiene#do-not-add-me-too-or-same-or-is-there-an-update-comments-to-bugs. When there are update to report on this issue, it will be commented on and/or closed.

  20. added
    r: fixedIssue is closed as already fixed in a newer version
    on Mar 6, 2023
  21. github-actions commented on Mar 20, 2023

    @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.

  22. locked as resolved and limited conversation to collaborators on Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsfound in release: 3.3Found to occur in 3.3found in release: 3.7Found to occur in 3.7frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions