Skip to content

Conversation

RylanBot
Copy link
Collaborator

@RylanBot RylanBot commented Oct 4, 2025

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

#3858

💡 需求背景和解决方案

最初 resize 明显是有同步的,但后面无法再次切换回来,因为宽度彻底被锁在了某个分支

修复前:
https://github.com/user-attachments/assets/8a73b15e-ccc7-4a84-a3f6-f7a83dbf9814

修复后(且简单测试过,确保 #2642 类似的滚动条过长案例依旧能正常生效):
https://github.com/user-attachments/assets/6eaaec6f-cb57-46f7-9cbc-ed11ffe05525

📝 更新日志

  • feat(SelectInput): 支持下拉框宽度自适应视窗变化

  • 本条 PR 不需要纳入 Changelog

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

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

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

Copy link

pkg-pr-new bot commented Oct 4, 2025

tdesign-react-demo

npm i https://pkg.pr.new/tdesign-react@3871

commit: 18f48cd

Copy link
Contributor

github-actions bot commented Oct 4, 2025

完成

@RylanBot RylanBot added the WIP work in porgess label Oct 4, 2025
@RylanBot RylanBot force-pushed the rylan/fix/select/width branch from 0029397 to 18f48cd Compare October 4, 2025 01:28
@RylanBot RylanBot removed the WIP work in porgess label Oct 4, 2025
@RylanBot RylanBot changed the title fix(SelectInput): optimize width calculation logic feat(SelectInput): optimize width calculation logic Oct 4, 2025
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.

1 participant