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

【修复】表格列宽拖拽到最大或最小时,有可能无法二次拖拽 #1157

Merged
merged 2 commits into from
Jul 12, 2022

Conversation

tinna3445
Copy link
Contributor

@tinna3445 tinna3445 commented Jul 11, 2022

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

#1067

💡 需求背景和解决方案

解决问题:由于计算精度问题,导致拖拽的宽度和minWidth/maxWidth有一点偏差,无法出发二次拖拽事件

📝 更新日志

  • fix(table): 表格列宽拖拽到最大或最小时,有可能无法二次拖拽

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

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

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

@codecov-commenter
Copy link

Codecov Report

Merging #1157 (d29d313) into develop (a0db0df) will increase coverage by 1.32%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1157      +/-   ##
===========================================
+ Coverage    57.56%   58.88%   +1.32%     
===========================================
  Files          346      404      +58     
  Lines        12828    15013    +2185     
  Branches      2405     2831     +426     
===========================================
+ Hits          7384     8841    +1457     
- Misses        5200     5901     +701     
- Partials       244      271      +27     
Impacted Files Coverage Δ
src/cascader/interface.tsx 0.00% <0.00%> (-100.00%) ⬇️
src/swiper/props.ts 68.75% <0.00%> (-31.25%) ⬇️
src/dialog/props.ts 70.00% <0.00%> (-30.00%) ⬇️
src/calendar/props.ts 70.00% <0.00%> (-30.00%) ⬇️
src/date-picker/props.ts 70.00% <0.00%> (-30.00%) ⬇️
src/drawer/props.ts 71.42% <0.00%> (-28.58%) ⬇️
src/cascader/props.ts 64.28% <0.00%> (-27.39%) ⬇️
src/pagination/props.ts 72.72% <0.00%> (-27.28%) ⬇️
src/affix/affix.tsx 39.06% <0.00%> (-27.01%) ⬇️
src/popup/props.ts 75.00% <0.00%> (-25.00%) ⬇️
... and 234 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 301a7dc...d29d313. Read the comment docs.

@github-actions
Copy link
Contributor

完成

@chaishi chaishi merged commit f92b71d into Tencent:develop Jul 12, 2022
This was referenced Jul 18, 2022
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.

3 participants