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/图片预览] 希望这个功能更强大些! #2565

Open
kwooshung opened this issue Oct 19, 2023 · 1 comment
Open

[ImageViewer/图片预览] 希望这个功能更强大些! #2565

kwooshung opened this issue Oct 19, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@kwooshung
Copy link

kwooshung commented Oct 19, 2023

这个功能解决了什么问题

组件增强,我认为下面我提到的几个方案应该很实用!

你建议的方案是什么

  1. 希望切换的时候,可以增加动画过度,不是现在这种很生硬的。甚至可以自己用css定义动画指定。
  2. 拖动图片,如果往右或往左拖动速度很快并且释放鼠标或触屏后,也是切换。
  3. 希望多图预览的时候,上方的缩略图栏,可以指定其他的位置:下、左、右
  4. 多图切换,支持垂直方向切换。
  5. 多图切换的左右箭头支持自己传入html节点,react组件什么的。
  6. 支持图片说明,比如alt属性的展示,缩略图也支持tooltip显示alt,大图也在合适的位置(我不知道怎么设计好)可以显示说明

同类产品的issues
ant-design/ant-design#45428
arco-design/arco-design#2268

@github-actions
Copy link
Contributor

👋 @kwooshung,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants