bluefireteam / photo_view

📸 Easy to use yet very customizable zoomable image widget for Flutter, Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interacive images and other stuff such as SVG.
MIT License
1.91k stars 547 forks source link

[BUG] `onTapUp` is not called when touch is lifted #524

Closed intonarumori closed 2 years ago

intonarumori commented 2 years ago

Describe the bug onTapUp is not called after touch has been lifted on PhotoView.

To Reproduce

PhotoView(imageProvider: AssetImage('assets/map_texture.jpg'), onTapDown: (context, details, controllerValue) => debugPrint("ontapdown"), onTapUp: (context, details, controllerValue) => debugPrint('tapUp'),),

What is the current behavior? onTapUp is not called.

Expected behavior onTapUp is called.

Screenshots No screenshots.

Which versions of Flutter/Photo View, and which browser / OS are affected by this issue? Did this work in previous versions of Photo View?

` photo_view: ^0.14.0`

Not sure, this is the first time I want to use this callback.