Repository navigation
Conversation
cdevq
marked this pull request as ready for review
November 10, 2026 04:16
cdevq
requested review from
HaixingOoO,
NWYLZW,
RylanBot,
ZWkang,
carolin913,
honkinglin and
uyarn
as code owners
November 10, 2026 04:16
Collaborator
TDesign Component Site Preview Open
|
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🤔 这个 PR 的性质是?
🔗 相关 Issue
暂无关联 Issue。
在线复现:https://stackblitz.com/edit/o3zjm1kh?file=src%2FApp.tsx(tdesign-react 1.18.4,通用静态数据)。
💡 需求背景和解决方案
Table 开启
resizable且叶子列右侧紧邻分组表头时,鼠标经过叶子列右边缘再进入分组表头点击,会在onDragEnd中抛出读取undefined.prevSibling的异常;异常也会阻止拖动监听的清理,导致后续普通点击继续报错。原因是非叶子表头的 mousemove 分支提前返回但保留了上一列的拖动候选状态,而 mousedown 没有再次确认当前列为叶子列。
本次修复:
没有修改公开 API、样式或列宽计算算法。
验证情况:
lint:tsc、新增回归用例的独立 TypeScript 静态检查通过。pnpm build构建通过。在线示例已保存为公开项目,并验证可重新打开;点击「一键复现」可看到相同错误。
📝 更新日志
tdesign-react
@tdesign-react/chat
无。
☑️ 请求合并前的自查清单