Tencent / Tencent/tdesign-miniprogram

[DateTimePicker] 启用了占位会导致整个页面渲染异常

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

Nobody has claimed this yet.

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

Description

tdesign-miniprogram 版本

1.2.5

重现链接

No response

重现步骤

组件A里面使用了DateTimePicker,组件A在page中配置了componentPlaceholder 为 view
会导致页面渲染异常(还会影响其它组件渲染)

调试中会报以下错误
搜狗截图20231214163016

期望结果

No response

实际结果

No response

基础库版本

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

Start by reproducing the reported interaction between DateTimePicker and componentPlaceholder set to view in a page, using tdesign-miniprogram 1.2.5 and the provided error screenshot as context. Trace the rendering failure from that configuration; done means the page and other components render normally when DateTimePicker is used inside component A.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.