Tencent / Tencent/tdesign-miniprogram

[Picker组件] 增加选择时的震动反馈

Open
#2,094 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

这个功能解决了什么问题

微信小程序原生picker组件带有震动反馈的功能,希望tdesign也保持与原生组件的一致性,增强用户体验。

震动反馈对于用户的反馈效果:用户在选择时如果有震动反馈效果,对于本次的选择体验会产生确认选中的心里暗示,如果没有震动反馈对于用户的交互缺失“确定性”暗示。

你建议的方案是什么

仿照微信小程序原生picker组件增加划过选项时的震动反馈。

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 Picker component's option-selection interaction and any existing WeChat MiniProgram platform integration. Compare its behavior with the native picker, add feedback while sliding over options, and verify that selection still works as expected.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.