ant-design / ant-design/x

官方例子在刷新页面时,Sender的高度会跳动一下

Open
#601 3 comments 0 reactions 0 assignees View on GitHub
bug wontfix
Dominant language
TypeScript
Stars
4.8k
Forks
1.2k
Avg merge
3d 3h
Merged PRs (30d)
2

Description

### 重现步骤

在线示例链接:(https://x.ant.design/docs/playground/independent-cn)

步骤:
1. 打开上面的网址(chrome,最新版)
2. 手工刷新页面,注意观察 Sender 组件
3. Sender 组件的高度会突然变高(目测变高大约16px),页面加载完后才恢复正常

### 当前行为

页面刷新时,Sender 组件的高度会突然变高

### 预期行为

Sender 组件的高度不变

### 上下文

_No response_

### 版本

1.0.6

### 您在哪些浏览器上遇到了这个问题?

Chrome

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the linked independent-cn playground in the latest Chrome and reproduce the Sender height change during a manual refresh. Trace the Sender example and its loading/layout behavior, then verify that the component keeps the same height throughout refresh and after the page finishes loading.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.