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

🐛 透视表复制粘贴重复问题 #2975

Closed
4 tasks
liran19960215 opened this issue Nov 13, 2024 · 2 comments · Fixed by #3029
Closed
4 tasks

🐛 透视表复制粘贴重复问题 #2975

liran19960215 opened this issue Nov 13, 2024 · 2 comments · Fixed by #3029
Assignees
Labels
🐛 bug 这个是一个 bug next 2.0-next 版本的问题 released on @latest

Comments

@liran19960215
Copy link

🏷 Version

Package Version
@antv/s2 2.0.0-next.31
@antv/s2-react
@antv/s2-vue 2.0.0-next.16

Sheet Type

  • [√ ] PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

当选中单元格进行复制时,如果一直拖拽 但是没有新的单元格加入 就会一直会有重复的单元格push进去 导致最后粘贴的结果重复
image
例如选中“杭州”“舟山”之后 鼠标一直不松 向右侧数据单元格方向拉 虽然选中状态一直是“杭州”“舟山”,但是最后粘贴出来的结果却是
杭州
舟山
杭州
舟山
杭州
舟山
杭州
舟山
杭州
舟山
杭州
舟山
杭州
舟山
杭州
舟山

⌨️ Code Snapshots

详见官方demo 不需要改代码 打开按照上述操作即可复现
https://s2.antv.antgroup.com/examples/analysis/totals#multiple-values

🔗 Reproduce Link

https://s2.antv.antgroup.com/examples/analysis/totals#multiple-values

🤔 Steps to Reproduce

  1. 打开官方demo 不需要改代码
    https://s2.antv.antgroup.com/examples/analysis/totals#multiple-values
  2. 选中“杭州”“舟山”之后一直向右拖拽
  3. 检查粘贴内容是否重复

😊 Expected Behavior

复制粘贴不会出现重复内容

😅 Current Behavior

复制粘贴会出现重复内容

💻 System information

Environment Info
System
Browser
@github-actions github-actions bot added the next 2.0-next 版本的问题 label Nov 13, 2024
@lijinke666 lijinke666 self-assigned this Nov 14, 2024
@lijinke666 lijinke666 added the 🐛 bug 这个是一个 bug label Nov 14, 2024
Copy link
Contributor

你好 @liran19960215,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.

Hello, @liran19960215, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v2.1.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug 这个是一个 bug next 2.0-next 版本的问题 released on @latest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants