Skip to content

Feat image preview toolbar #2

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

Open
wants to merge 91 commits into
base: feat-image-preview-toolbar
Choose a base branch
from

Conversation

Roywhite
Copy link

优化了图片预览,从鼠标滚轮缩放图片中心位置改为鼠标所在位置缩放,修复鼠标位置计算错误的问题。
更贴近ant-design的预览逻辑

suweite and others added 30 commits January 30, 2024 12:04
…ueComponent#7291)

* fix: fix headerCell slots

* perf: optimize table columnTitle type
…eComponent#7498)

* docs: updating the `dropdownRender` description and jumps in the FAQ for Select

* fix[layout]: in a dark mode layout, the text color should change
* docs: updating the `dropdownRender` description and jumps in the FAQ for Select

* wip: add popover-arrow

* wip: trigger add arrow attr

* fix: remove popupContextKey

* optimize

* perf: optimize

* docs: optimize docs

* docs: add `arrow` attribute in tooltip en-US docs

* fix: fix bug

* perf[demo]: `radio-group` replace with `segmented`
)

* docs: updating the `dropdownRender` description and jumps in the FAQ for Select

* fix: `menu-item-group` rendered in ssr
…#7368)

* fix(Pagination): block default events for the enter key

* refactor: consider other keyboard events
…ode (vueComponent#7377)

* docs: updating the `dropdownRender` description and jumps in the FAQ for Select

* fix: fix  select error in multiple mode

* fix: fix cascader select error in ssr mode
tangjinzhou and others added 29 commits June 6, 2024 10:16
* Fix: [修复自定义按钮无渲染]

* refactor(完善 Tour 自定义按钮代码健壮性): 🦄

---------

Co-authored-by: shizhu <[email protected]>
* fix(vc-dialog): aira error

* fix(vc-dialog): aira error
- 新增基于鼠标位置的缩放中心点功能
- 添加滚轮缩放状态记录
- 优化缩放比例计算逻辑
- 修复图片居中显示问题
- 优化事件监听器管理
- Replace pageX/pageY with clientX/clientY for accurate mouse position tracking
- Add type checking for isWheel parameter in zoom functions
- Reset preview state when visibility changes
- Clean up code formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.