-
Notifications
You must be signed in to change notification settings - Fork 199
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
fix: 修复父容器存在 transform 缩放时单元格刷选偏移 close #2553 #2565
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
你好, @lijinke666 CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复。 Hello, @lijinke666 CI run failed, please click the [Details] button for detailed log information and fix it. |
Size Change: +90 B (0%) Total Size: 317 kB
ℹ️ View Unchanged
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #2565 +/- ##
==========================================
+ Coverage 75.77% 78.30% +2.53%
==========================================
Files 257 275 +18
Lines 11994 12478 +484
Branches 2464 2539 +75
==========================================
+ Hits 9088 9771 +683
+ Misses 1398 1148 -250
- Partials 1508 1559 +51 ☔ View full report in Codecov by Sentry. |
🎉 This PR is included in version @antv/s2-v2.0.0-next.13 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version @antv/s2-react-v2.0.0-next.12 🎉 The release is available on: Your semantic-release bot 📦🚀 |
👀 PR includes
🐛 Bugfix
📝 Description
transform: scale()
时, 刷选坐标拿的有问题, 应该使用offsetX/offsetY
而不是clientX/clientY
, 参考 G 的 supportsCSSTransform 处理方式.https://github.com/antvis/G/blob/a43c19a662684945d0bf9dc1876af43ac26b1243/packages/g-lite/src/plugins/EventPlugin.ts#L215-L229
🖼️ Screenshot
🔗 Related issue link
🔍 Self-Check before the merge