Skip to content

feat(ImageViewer): 支持视口之外图片向中心缩放#4184

Open
RSS1102 wants to merge 6 commits intodevelopfrom
rss1102/feat/image-viewer/center-zoom
Open

feat(ImageViewer): 支持视口之外图片向中心缩放#4184
RSS1102 wants to merge 6 commits intodevelopfrom
rss1102/feat/image-viewer/center-zoom

Conversation

@RSS1102
Copy link
Copy Markdown
Collaborator

@RSS1102 RSS1102 commented Mar 23, 2026

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • 本条 PR 不需要纳入 Changelog

tdesign-react

  • feat(ImageViewer): 支持视口之外图片向中心缩放

@tdesign-react/chat

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@tdesign-bot
Copy link
Copy Markdown
Collaborator

tdesign-bot commented Mar 23, 2026

TDesign Component Site Preview Open

Component Preview
tdesign-react 完成
@tdesign-react/chat 完成

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 23, 2026

  • tdesign-react-demo

    npm i https://pkg.pr.new/Tencent/tdesign-react@4184
    
    npm i https://pkg.pr.new/Tencent/tdesign-react/@tdesign-react/chat@4184
    

commit: d8ea865

@RSS1102 RSS1102 force-pushed the rss1102/feat/image-viewer/center-zoom branch from 36a1ea9 to 78faf2e Compare March 24, 2026 08:07
@RSS1102 RSS1102 force-pushed the rss1102/feat/image-viewer/center-zoom branch from b3609d0 to 51588af Compare March 24, 2026 09:44
@RSS1102 RSS1102 marked this pull request as ready for review March 24, 2026 10:09
transform: `translate(${position[0]}px, ${position[1]}px) scale(${mirror}, 1)`,
};

// 动画类名,与 CSS 中 &--transitioning { transition: transform } 强关联
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

4 participants