ant-design Card Loading state for Extra & Actions

e1xvtsh3  于 3个月前  发布在  其他
关注(0)|答案(4)|浏览(66)

no needed

Steps to reproduce

Basically if I apply a loading state to a card which has a extra and action props I want to see the loading also on that elements.

What is expected?

Loading on all components

What is actually happening?

Loading only on native card elements
| Environment | Info |
| ------------ | ------------ |
| antd | 5.13.3 |
| React | 18 |
| System | mac |
| Browser | chrome |

x759pob2

x759pob21#

Hello @vitalijalbu. Please provide a online reproduction by forking codesandbox of antd@5.x or antd@4.x , or provide a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 3 days.

你好 @vitalijalbu,我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 antd@5.xantd@4.x 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。
什么是最小化重现,为什么这是必需的?

ulmd4ohb

ulmd4ohb2#

@afc163 no link needed, you can see the attached screenshot

7ivaypg9

7ivaypg93#

Maybe you could write a custom component that includes the Spin and Card components.

brqmpdu1

brqmpdu14#

Only preset actions could add loading skeleton.

相关问题