Skip to content

Comments

fix: prevent swipe gesture from overriding zoom on product images#7388

Open
y0sf1 wants to merge 3 commits intoopenfoodfacts:developfrom
y0sf1:fix/photo-zoom
Open

fix: prevent swipe gesture from overriding zoom on product images#7388
y0sf1 wants to merge 3 commits intoopenfoodfacts:developfrom
y0sf1:fix/photo-zoom

Conversation

@y0sf1
Copy link

@y0sf1 y0sf1 commented Jan 24, 2026

What

  • Replaced PageView with PhotoViewGallery to display product images with zoom while preserving swipe gestures
  • Prevent swiping from overriding zoom

Screen recording

zoom-issue-fix

Fixes bug(s)

@y0sf1
Copy link
Author

y0sf1 commented Jan 24, 2026

@g123k I've fixed the Flutter analyze issues. The PR is ready for another look when you have time. 🚀

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 0% with 46 lines in your changes missing coverage. Please review.
✅ Project coverage is 9.13%. Comparing base (4d9c7fc) to head (c78793b).
⚠️ Report is 1327 commits behind head on develop.

Files with missing lines Patch % Lines
..._app/lib/pages/image/product_image_other_page.dart 0.00% 46 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #7388      +/-   ##
==========================================
- Coverage     9.54%   9.13%   -0.42%     
==========================================
  Files          325     624     +299     
  Lines        16411   36538   +20127     
==========================================
+ Hits          1567    3337    +1770     
- Misses       14844   33201   +18357     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 💬 To discuss and validate

Development

Successfully merging this pull request may close these issues.

Images cannot be zoomed in on the Photos page

2 participants