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]列拖动功能优化 #870

Merged
merged 3 commits into from
May 13, 2022
Merged

Conversation

LoopZhou
Copy link
Collaborator

@LoopZhou LoopZhou commented May 12, 2022

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

Fixes #859

💡 需求背景和解决方案

  1. mousemove的时候,target可能是文本, 边缘会出现定位错误

target

  1. 列拖动后,再选中某一行,列拖动后到距离被重置了

📝 更新日志

  • fix(table): 列拖动优化:target定位错误;选中行后列拖动距离被重置问题

  • 本条 PR 不需要纳入 Changelog

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

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

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

@codecov-commenter
Copy link

Codecov Report

Merging #870 (5f264cb) into develop (a0db0df) will increase coverage by 3.82%.
The diff coverage is 68.75%.

@@             Coverage Diff             @@
##           develop     #870      +/-   ##
===========================================
+ Coverage    57.56%   61.38%   +3.82%     
===========================================
  Files          346      355       +9     
  Lines        12828    13470     +642     
  Branches      2405     2556     +151     
===========================================
+ Hits          7384     8269     +885     
+ Misses        5200     4942     -258     
- Partials       244      259      +15     
Impacted Files Coverage Δ
src/avatar/group.tsx 97.14% <ø> (ø)
src/breadcrumb/breadcrumb-item-props.ts 100.00% <ø> (ø)
src/calendar/props.ts 70.00% <0.00%> (-30.00%) ⬇️
src/cascader/props.ts 91.66% <ø> (ø)
src/cascader/utils/inputContent.ts 59.45% <0.00%> (+6.68%) ⬆️
src/date-picker/date-picker.tsx 46.57% <0.00%> (+0.72%) ⬆️
src/date-picker/panel/date-range.tsx 7.48% <0.00%> (+0.29%) ⬆️
src/dialog/props.ts 70.00% <0.00%> (-30.00%) ⬇️
src/dropdown/dropdown-menu.tsx 18.42% <ø> (ø)
src/dropdown/dropdown.tsx 70.00% <0.00%> (+5.00%) ⬆️
... and 129 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5d7ce8...5f264cb. Read the comment docs.

@github-actions
Copy link
Contributor

完成

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.

[Table] 列拖动功能:当把列宽拖动到最小后,不能再选中调整该列了
3 participants