You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pabloasenjo3
changed the title
App crashes when zoom is pinched to maximum
App crashes when zoom is pinched to maximum as a child of ColorFiltered widget
Jan 18, 2023
🐛 Bug Report
When this widget is used as a child of ColorFiltered widget, if users pinch zoom to the maximum agressively, the app starts lagging untilit crashes.
Expected behavior
Pinching zoom, even if it's done agressively, should not crash the app.
Reproduction steps
Try it here (on a mobile device) or just add this to any widget tree:
ColorFiltered(
colorFilter: const ColorFilter.matrix(
[
1, 0, 0, 0, 0,
0, 1, 0, 0, 0,
0, 0, 1, 0, 0,
0, 0, 0, 1, 0, // Example matrix
],
),
child: PhotoView(
imageProvider: const NetworkImage(imageUrl),
),
),
This PhotoView argument helps, but its not enough:
filterQuality: FilterQuality.none,
Platform: Android and iOS
Version: 0.14.0 (latest)
The text was updated successfully, but these errors were encountered: