New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Touch input has unpredictable tap detection #1497
Comments
Are you running Flutter inside of MojoShell? |
Also, what host platform are you using? |
Yes, Flutter inside of Mojo Shell. The app was running on a Nexus 9. |
This also happens on Nexus 6 and with normal Flutter ( Here's an easier reproduction case. I have a blue background that is tappable. When you tap the body, the tap counter increments and prints out When an even number of taps have occurred, a button with the text Behavior:
In
Perhaps the real behavior is:
|
There's an onTap bug in Flutter (or Modroid) flutter/flutter#1497 I have to investigate further, but for now, we're going to workaround it by mocking the center "Take" button with a styled Container. Change-Id: I038121b62388a74384e2ff13cc6aaabb20f2d19d
@HansMuller , this is ancient, but is it related to your work to fix Missing Taps? |
Mojo shell isn't a thing anymore. |
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 |
Details and repro case will come later. But I wanted to report this now. (I'm on the latest Flutter engine 87, but this also happened on sky engine 75 as well.)
I noticed that taps are occasionally ignored in my app.
My situation is:
In my app, 4 people take turns playing cards. After each card is played, they tap the large container to reveal their cards. After all 4 cards are revealed, the "Take" button appears to tell the trick winner to take the trick.
Everything works fine up to there.
After the trick-taking tap, the next card played has issues being revealed:
This makes me think that Flutter has a bug where:
It may also be that:
For now, my app is fine since I can fake the "Take" button with a similarly-styled container, but it would be nice to fix this behavior. (For my app, the large container's onTap handler does the same thing as the button's onPressed would have.)
As mentioned, I'll try to make a simpler test case later.
The text was updated successfully, but these errors were encountered: