Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageViewer.Multi组件,预览图放大后,无法通过滑动切换到下一张图片 #6310

Closed
mirai027 opened this issue Aug 11, 2023 · 9 comments

Comments

@mirai027
Copy link

Version of antd-mobile

5.32.0

Operating system and its version

iOS, Android

Browser and its version

No response

Sandbox to reproduce

https://mobile.ant.design/~demos/image-viewer-demo1/

What happened?

文档DEMO,预览多张图片,放大图片后,无法通过手势切换到下一张图片。需要把放大的图片缩小到初始状态后才允许切换到下一张图片。

Relevant log output

No response

@mirai027 mirai027 added the bug label Aug 11, 2023
@1587315093 1587315093 added need reproduce We cannot reproduce your problem and removed bug labels Aug 11, 2023
@github-actions
Copy link
Contributor

Hi, mirai027.

Please provide a online reproduction so that we can help you troubleshoot the problem. You can create a demo by codesandbox or stackblitz.

我们需要你提供一个在线的重现实例,以便于我们帮你排查问题。你可以通过 codesandboxstackblitz 创建一个实例。

@1587315093 1587315093 added enhancement and removed need reproduce We cannot reproduce your problem labels Aug 11, 2023
@1587315093
Copy link
Contributor

应该是要优化下放大后的拖动

@mirai027
Copy link
Author

应该是要优化下放大后的拖动

请问什么时候进行这个优化呢?

@1587315093
Copy link
Contributor

应该是要优化下放大后的拖动

请问什么时候进行这个优化呢?

来个pr?

@mirai027
Copy link
Author

我参考的是Vant的图片预览组件,但安卓系统上APP的预览图片都是允许放大后通过手势切换到下一张图片的

@1587315093
Copy link
Contributor

#4707

@liangskyli
Copy link
Contributor

这个问题一年多了,希望尽快处理下,谢谢!

@1587315093
Copy link
Contributor

1587315093 commented Sep 15, 2023

原本得pr修改得不太对~ 这个修复涉及到计算得地方有些麻烦,其他人有更好得实现可以提上来得~

@HuberTRoy
Copy link
Contributor

@1587315093

#5701 之前有一个相关的PR~,希望可以review~。

@zombieJ zombieJ closed this as completed Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants