Skip to content

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

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

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

Conversation

@Y0V01D
Copy link
Copy Markdown

@Y0V01D Y0V01D 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)

@Y0V01D
Copy link
Copy Markdown
Author

Y0V01D 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
Copy Markdown

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