After some debugging, the issue is with the finger count. Somehow it will stuck with a value that makes the board in the zoom mode only (because it indicates more than one finger, but it is actually only one finger).
Some of my users have this issue as well when they try to zoom in, then the same issue happens.
Adding onPointerCancel that reduces the finger count to the listener in the source code as suggested in this issue solves the issue.
But I am using your great library in an important app so I am not sure if I should fork it to apply this solution or it could cause other issues.
Version
0.5.0
Platforms
Android, iOS
Device Model
Galaxy note 9 (android 13)
flutter info
How to reproduce?
I recorded this video from the example of this repo.
https://github.com/fluttercandies/flutter_drawing_board/assets/57685540/580f387c-8fb0-4571-a5d2-672e8cbd759b
After some debugging, the issue is with the finger count. Somehow it will stuck with a value that makes the board in the zoom mode only (because it indicates more than one finger, but it is actually only one finger). Some of my users have this issue as well when they try to zoom in, then the same issue happens. Adding onPointerCancel that reduces the finger count to the listener in the source code as suggested in this issue solves the issue. But I am using your great library in an important app so I am not sure if I should fork it to apply this solution or it could cause other issues.
Logs
No response
Example code (optional)
No response
Contact
No response