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

[Table] Virtual Scroll: Support Scroll to any Element; Tree Scroll; fix scroll top on table content height changed #2112

Merged
merged 18 commits into from Dec 12, 2022

Conversation

chaishi
Copy link
Collaborator

@chaishi chaishi commented Dec 5, 2022

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • fix(Table): 虚拟滚动支持表格高度变化,issue#1374

  • feat(Table): 虚拟滚动支持滚动到具体的某一个元素,用于呈现选中行/选中项

  • feat(Table): 虚拟滚动支持数据变化时不重置,进而支持树形结构无限滚动

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2022

完成

@chaishi chaishi changed the title [WIP] Table Virtual Scroll [WIP] Virtual Scroll: Support Scroll to any Element and Tree Dec 5, 2022
@chaishi chaishi changed the title [WIP] Virtual Scroll: Support Scroll to any Element and Tree [WIP] Virtual Scroll: Support Scroll to any Element; Tree Scroll; fix scroll position on table content height changed Dec 5, 2022
@chaishi chaishi changed the title [WIP] Virtual Scroll: Support Scroll to any Element; Tree Scroll; fix scroll position on table content height changed [WIP] Virtual Scroll: Support Scroll to any Element; Tree Scroll; fix scroll top on table content height changed Dec 5, 2022
# Conflicts:
#	src/table/_example/tree-select.vue   resolved by develop version
#	src/table/_example/virtual-scroll.vue   resolved by develop version
#	test/snap/__snapshots__/csr.test.js.snap   resolved by develop version
#	test/snap/__snapshots__/ssr.test.js.snap   resolved by develop version
@chaishi chaishi changed the title [WIP] Virtual Scroll: Support Scroll to any Element; Tree Scroll; fix scroll top on table content height changed [Table] Virtual Scroll: Support Scroll to any Element; Tree Scroll; fix scroll top on table content height changed Dec 10, 2022
@PengYYYYY PengYYYYY merged commit f2f5a54 into Tencent:develop Dec 12, 2022
@github-actions github-actions bot mentioned this pull request Dec 14, 2022
16 tasks
sinbadmaster pushed a commit to sinbadmaster/tdesign-vue-next that referenced this pull request Jun 2, 2023
…ix scroll top on table content height changed (Tencent#2112)

* feat(table): virtual scroll initial version

* fix(table): refresh

* feat(table): virtual scroll

* fix(form): ts error

* fix(table): virtual

* fix(table): update snapshots

* fix(table): virtual scroll

* feat(_common): update snapshots

* feat(table): tree virtual scroll

* test: update snapshots

* fix(table): fix virtual scroll

* feat(table): support tree virtual scroll

* test(unit): update snapshots

* feat(table): update ts type

* fix(table): add isVirtualScroll to watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants