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

🐛 外接显示器拖到 MacBook 表格渲染模糊 #2072

Closed
2 of 5 tasks
lijinke666 opened this issue Feb 13, 2023 · 2 comments · Fixed by #2074
Closed
2 of 5 tasks

🐛 外接显示器拖到 MacBook 表格渲染模糊 #2072

lijinke666 opened this issue Feb 13, 2023 · 2 comments · Fixed by #2074

Comments

@lijinke666
Copy link
Member

🏷 Version

Package Version
@antv/s2 1.41.0
@antv/s2-react
@antv/s2-vue

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

image

原因: DPR 改变时 visualViewport 触发了 resize 事件

image

导致 DPR 从 1 => 2 => 1 额外渲染了一次, DPR 被重置了

⌨️ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior

😅 Current Behavior

💻 System information

Environment Info
System
Browser
@lijinke666 lijinke666 self-assigned this Feb 13, 2023
lijinke666 added a commit that referenced this issue Feb 14, 2023
* fix: 修复 2k 显示器切换到 MacBook 后表格渲染模糊 close #2072

* test: 增加测试

* test: 修复高清测试

* test: 修复测试

* test: 修复测试
@lijinke666
Copy link
Member Author

🎉 This issue has been resolved in version @antv/s2-v1.41.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member Author

🎉 This issue has been resolved in version @antv/s2-v2.0.0-next.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

wjgogogo pushed a commit that referenced this issue Oct 25, 2023
* fix: 修复 2k 显示器切换到 MacBook 后表格渲染模糊 close #2072

* test: 增加测试

* test: 修复高清测试

* test: 修复测试

* test: 修复测试
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant