Tencent / Tencent/tdesign-react

[Slider] range 模式下设置了 value 为 undeifned 时无法操作第二个游标滑块无法拖动

Open
#2,618 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🎨 design 🐞 bug
Dominant language
TypeScript
Stars
965
Forks
373
Avg merge
3d 6h
Merged PRs (30d)
17

Description

tdesign-react 版本

1.3.1

重现链接

sandbox

重现步骤

设置 Slider 组件为 range,并且不提供默认值(或者提供空数组)

期望结果

正常被拖拽

实际结果

拖拽异常,无法交互

框架版本

18.2.0

浏览器版本
系统版本
Node版本
补充说明

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CodeSandbox and reproduce the Slider in range mode with no value or an empty array. Trace the Slider entry point and its existing interaction tests, then verify that the second thumb can be dragged in this state without breaking normal range behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.