You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A uikitview is below B uikitview, but A uikitview is refreshed, so that B uikitview cannot respond to the click event #118366
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
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
Did some initial investigation. From the debug view it looks like the green box is on top of the button:
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.
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。
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.
Activity
chikang commentedon Jan 12, 2023
chikang commentedon Jan 12, 2023
problem : When the red view comes out, the green button cannot be clicked
exaby73 commentedon Jan 12, 2023
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
chikang commentedon Jan 13, 2023
This doesn't look like #37579,My problem is inevitable, and a demo is provided,so,how to solve this problem?
exaby73 commentedon Jan 16, 2023
@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
chikang commentedon Jan 16, 2023
Well, I hope to hear from you soon @exaby73
hellohuanlin commentedon Jan 17, 2023
Did some initial investigation. From the debug view it looks like the green box is on top of the button:
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.
@cyanglaz probably has more insight?
5 remaining items
chikang commentedon Jan 30, 2023
How can red view get click events?
chikang commentedon Jan 30, 2023
Is there a widget or API to solve this problem?
KenwayDev commentedon Jan 31, 2023
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
hellohuanlin commentedon Feb 9, 2023
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.
hellohuanlin commentedon Feb 9, 2023
@chikang yep, from where i left off, it should be solvable if im not mistaken.
chikang commentedon Feb 9, 2023
jmagman commentedon Feb 9, 2023
@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.
github-actions commentedon Mar 20, 2023
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 -vand a minimal reproduction of the issue.