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

🐛 拖动列宽时,如果表格的右侧有其他元素,大距离拖动会导致反弹 #2269

Closed
1 of 5 tasks
aimerthyr opened this issue Jun 27, 2023 · 2 comments · Fixed by #2273
Closed
1 of 5 tasks
Labels

Comments

@aimerthyr
Copy link
Contributor

🏷 Version

Package Version
@antv/s2 1.48.0

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

当表格的右侧存在另外一个dom结构时,如果我很大范围地去拖动列宽,就会导致列宽的分割线反弹回去,从而导致无法拖动列宽

🔗 Reproduce Link

复线链接

🤔 Steps to Reproduce

demo

@aimerthyr
Copy link
Contributor Author

aimerthyr commented Jun 27, 2023

但是如果表格的右侧没有那个dom结构,那么就可以大范围地去拖动,很奇怪,感觉是不是内部拖动的时候判断条件设置的有点问题。
这个需求还是挺常见的,因为我们会在报表的右边设置一个配置面板来配置这个报表。麻烦大佬帮忙看看叭

@lijinke666
Copy link
Member

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

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants