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

🤔能否禁用调整行高 #855

Closed
FrankPaul1 opened this issue Dec 2, 2021 · 6 comments · Fixed by #864
Closed

🤔能否禁用调整行高 #855

FrankPaul1 opened this issue Dec 2, 2021 · 6 comments · Fixed by #864
Assignees
Labels
⚡ enhancement 功能增强 ❔question 疑问/使用问题 released

Comments

@FrankPaul1
Copy link

🖋 Description

我们的场景里行高是固定的,因此想禁用调整行高的交互(但是保留调整列宽)

😊 Expected Behavior

hover 行表头不显示调整行高的效果,移动行高保持不变

😅 Current Behavior

image

@FrankPaul1 FrankPaul1 added the ❔question 疑问/使用问题 label Dec 2, 2021
@lijinke666
Copy link
Member

什么场景下不希望调整行高? 或者说 如果调整了行高会怎么样?
目前还不支持, 不过感觉可以安排

@wjgogogo wjgogogo added the ⚡ enhancement 功能增强 label Dec 2, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2021

你好 @FrankPaul1,感谢你的建议, 我们会及时评估和排期, 谢谢!

Hello, @FrankPaul1, thanks for your advice. We will evaluate and schedule in time. Thank you!

@wjgogogo wjgogogo self-assigned this Dec 2, 2021
@FrankPaul1
Copy link
Author

@lijinke666 感谢
场景是:因为内容都是一行,且行高是确定的,因此没有用户调整的诉求
调整了行高会怎么样:主要的影响是,在没有这个诉求的情况下,有这个交互会有一定的干扰,比较奇怪

lijinke666 pushed a commit that referenced this issue Dec 6, 2021
* feat: add resize active options

* test: update test

* refactor: add resize config for playground

* refactor: simplify resize config

* refactor: update playground

* test: update default options

* test: fix unit test

* docs: add resize docs

* docs: fix type declaration style issue

* docs: remove api summary

* docs: refine resize demo
@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2021

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

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2021

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

The release is available on:

Your semantic-release bot 📦🚀

@wjgogogo
Copy link
Contributor

wjgogogo commented Dec 6, 2021

@FrankPaul1 v1.2.0中已经支持禁用resize功能,请参考 resize文档 resize demo

wjgogogo added a commit that referenced this issue Oct 25, 2023
* feat: add resize active options

* test: update test

* refactor: add resize config for playground

* refactor: simplify resize config

* refactor: update playground

* test: update default options

* test: fix unit test

* docs: add resize docs

* docs: fix type declaration style issue

* docs: remove api summary

* docs: refine resize demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚡ enhancement 功能增强 ❔question 疑问/使用问题 released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants