Closed AminBhst closed 1 month ago
Great effort @AminBhst thank you! it was merged 🙏🙏
I actually wish I could use it on mobile as well
@anzbert It could be done pretty easily but I think it's better to have it be configurable. Something like:
ManualDoubleTapDetectionPlatform.desktop, ManualDoubleTapDetectionPlatform.mobile, ManualDoubleTapDetectionPlatform.all, ManualDoubleTapDetectionPlatform.none
The code is already there so you can just add a configuration entry for this purpose and open a PR. Pretty straightforward
This PR addresses #83. As you can see below, manual detection of double taps inside of
onTapUp
removes the significant single tap delay which is caused by Flutter's doubleTap detection on desktop. There is currently an issue from 2 years ago that asks for a fix on the SDK level, however, it doesn't seem to be coming anytime soon. So I think a workaround for this issue is the best course of action for now.Before
After