Commit 3ef83ce
fix(ImageViewer): 修复预览图片点击右键后失焦跟随鼠标移动的问题 (#6098)
* fix(ImageViewer): 修复预览图片上右键后失焦跟随鼠标移动的问题
* fix(ImageViewer): update mousedown event logic
* Update packages/components/image-viewer/hooks/index.ts
触摸事件没有button属性,会正常处理
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* revert(image-viewer): revert copilot commit
revert copilot commit
* chore: stash changelog [ci skip]
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: tdesign-bot <tdesign@tencent.com>1 parent 1a5aa30 commit 3ef83ce
File tree
2 files changed
+16
-1
lines changed- packages
- components/image-viewer/hooks
- tdesign-vue-next/.changelog
2 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | | - | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
29 | 37 | | |
30 | 38 | | |
| 39 | + | |
31 | 40 | | |
32 | 41 | | |
33 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments