Skip to content

fix(slider): ignore mark clicks when disabled - #4528

Open
lanqing431 wants to merge 1 commit into
Tencent:developfrom
lanqing431:codex/tdesign-slider-disabled-mark
Open

lanqing431 wants to merge 1 commit into
Tencent:developfrom
lanqing431:codex/tdesign-slider-disabled-mark

Conversation

@lanqing431

Copy link
Copy Markdown

这个 PR 的性质

  • Bug 修复

需求背景和解决方案

禁用的 Slider 仍能通过点击刻度改值。点击处理在禁用时退出,启用后仍可点击刻度。测试覆盖回调和值。

验证

新增的原分支回归失败,修后组件测试全部通过。另在 Chromium 用最小演示实际操作。

Chromium 回归演示

更新日志

tdesign-react

  • fix(slider): ignore mark clicks when disabled

自查

  • 现有文档适用
  • 已提供交互验证截图
  • TypeScript 定义无须修改
  • 已提供 Changelog 条目

实现和测试使用了 AI 辅助。

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