Tencent / Tencent/tdesign-miniprogram

[t-slider] 横竖屏切换后,滑块无法正常滑动

Open
#4,262 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Vue
Stars
1.8k
Forks
337
Avg merge
1d 21h
Merged PRs (30d)
19

Description

tdesign-miniprogram 版本

1.12.3

重现链接

https://developers.weixin.qq.com/s/07XgWGmB8D6N

重现步骤
  1. 导入代码片段,以竖屏模式启动
  2. 点击Open Slider
  3. 拖动滑块
  4. 模拟设备旋转为横屏
  5. 拖动滑块
期望结果

3: 滑块正常滑动

5: 滑块正常滑动

实际结果

3: 滑块正常滑动

5: 滑块无法滑动

基础库版本

3.14.1

补充说明

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 WeChat reproduction and the Open Slider entry point. Reproduce the drag behavior in portrait mode, rotate the simulated device to landscape, and compare the slider interaction before and after rotation. Done means the slider remains draggable after the orientation change.

Written by the indexing model from the issue text.

Assessment

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.