zhanghai / zhanghai/MaterialFiles

[FR/Bug] 图片放大时拖拽图片依然会切换图片

Open
#1,487 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

As title says
内置图片查看器在查看已经放大的图片时,拖动图片(特别是左右拖动)时会触发切换图片的动作。

能否在图片放大时禁用左右滑动切换图片的功能?

感谢

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the built-in image viewer and reproduce the issue by zooming an image, then dragging it horizontally. The work is done when dragging a zoomed image no longer triggers navigation to another image, while image switching still works when the image is not zoomed.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.