Tencent / Tencent/tdesign-miniprogram

[t-picker] t-picker-item 滚动能否实现滚动无缝衔接,比如从1到最后直接滚动到1反复循环

Open
#4,039 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

💪🏻 enhancement 🧐 unconfirmed
Dominant language
Vue
Stars
1.8k
Forks
337
Avg merge
1d 21h
Merged PRs (30d)
19

Description

这个功能解决了什么问题

[t-picker] t-picker-item 滚动能否实现滚动无缝衔接,比如从1到最后直接滚动到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 by locating the t-picker and t-picker-item entry points and reviewing their current scrolling behavior. Confirm how a configurable seamless loop should work from the first item to the last and back, then consider the existing component validation path. Done means the behavior can be enabled or disabled through a property and repeated scrolling loops correctly when enabled.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
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.