Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table 可横向滚动时,空状态会闪动 #49279

Open
linxianxi opened this issue Jun 6, 2024 · 1 comment · May be fixed by react-component/table#1142
Open

Table 可横向滚动时,空状态会闪动 #49279

linxianxi opened this issue Jun 6, 2024 · 1 comment · May be fixed by react-component/table#1142

Comments

@linxianxi
Copy link
Contributor

linxianxi commented Jun 6, 2024

Reproduction link

Edit on StackBlitz

Steps to reproduce

观察 mount 时空状态的展示

What is expected?

空状态一开始就展示在中间

What is actually happening?

实际上好像是一开始会出现在 scroll.x 的中间部分

Environment Info
antd 5.18.0
React latest
System mac
Browser chrome
2024-06-06.15.58.06.mov

可以看到在视频第 5 秒处的时候 Empty 没有居中
image

Copy link

stackblitz bot commented Jun 6, 2024

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant