What happened?
It's hard to scale the board when I use two fingers at the same time. But the board can be easily scaled with one finger pressed and move for a little bit then the second finger pressed to scale.
Environments
Flutter: 1.20.0
(Stable)
Devices: OnePlus 6T, OnePlus 8 Pro, AVD Emulator. (All Android Q)
How to reproduce?
Failures are following steps below:
- Two fingers press at the same time.
- Try to scale the board.
- ~50% of the gesture is no response with scale.
Succeeds are following steps below, and have some specific cases:
①: Fingers pressed one-by-one (~100%):
- Only one finger pressed down at first.
- Move the finger for a little bit.
- At the same time of moving, press the second finger and start scaling.
②: Rapidly scaling on the screen (~65%):
- Press two fingers on the screen with a rapidly enlarge gesture.
③: Place two fingers as close as possible (~85%):
- Place two fingers which makes the distance of them is lower than the height of the piece panel.
- Scale it.
That might be something with the GestureDetector
or the Listener
inside the InteractiveViewer
, needs more investigation.