Tencent / Tencent/tdesign-miniprogram

小程序端 Calendar 日历 设置 min-date max-date 手机打开日历 有明显卡顿延迟

Open
#1,860 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

tdesign-miniprogram 版本

1.1.0

重现链接

No response

重现步骤

技术栈 小程序原生
minDate: 1577808000000,//设置日历最早可选范围
maxDate: 1924963200000,//设置日历最大可选范围

小程序端 Calendar 日历 设置 min-date max-date 手机打开日历 有明显卡顿延迟

期望结果

苹果手机 安卓手机 打开日历 选择日期 流畅顺滑无卡顿

实际结果

苹果手机 安卓手机 打开日历 选择日期 无明显延迟卡顿

框架版本

No response

基础库版本

2.30.2

补充说明

No response

IssueShoot

  • 预估时长: 5
  • 期望完成时间: 2023-04-14 00:00:00 +0000 UTC
  • 开发难度: 高
  • 参与人数: 1
  • 验收标准: 实现期望改造效果,提 PR 并通过验收无误
  • 备注: 最终激励以实际提交 pull request 并合并为准

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 reproducing the Calendar lag on both iOS and Android with the supplied minDate and maxDate values, then compare opening the calendar and selecting dates. Done means the Calendar opens and date selection feels smooth without noticeable delay on both platforms.

Written by the indexing model from the issue text.

Assessment

Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.