Tencent / Tencent/tdesign-miniprogram

[Message] 消息组件短时间触发多个导致位置异常

Open
#3,520 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

tdesign-miniprogram 版本

lastest

重现链接

No response

重现步骤

当message支持不开启single时,短时间触发多条message会导致message展示位置异常

期望结果

正常展示

实际结果

先展示的消息会跑到屏幕外,后展示的消息会在状态栏展示一半

基础库版本

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 issue in the message component with single disabled and several messages triggered in quick succession. Inspect how multiple messages calculate their positions, then verify that earlier messages stay visible and later messages are not clipped by the status bar.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.