Tencent / Tencent/tdesign-miniprogram

多个tab-panel超出屏幕,当选择最后一个tab-panel ,组件会自动向左滚动,无法在屏幕中显示被选中的tab-panel

Open
#2,909 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

tdesign-miniprogram 版本

1.4.2

重现链接

No response

重现步骤

微信小程序版本,"renderer": "skyline",模式,预览模式正常,真机出现该问题

期望结果

可以滑动tabs 能选中任何一个

实际结果

超出屏幕的 可以滑动出来,但是无法选中,手指抬起,自动向左侧滚动,

基础库版本

No response

补充说明

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

Begin by reproducing the tabs component behavior in WeChat Mini Program using the skyline renderer on a real device; the report says preview mode does not show the problem. Then trace the tabs component's horizontal scrolling and selection behavior for the final tab-panel. Done means any tab-panel beyond the viewport can be selected and remains visible after the finger is lifted.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.