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

There is a problem when using <a-input> in the title slot of <a-card>, it will turn into three dots. #7363

Closed
1 task done
fare-xzy opened this issue Feb 21, 2024 · 2 comments
Labels

Comments

@fare-xzy
Copy link

fare-xzy commented Feb 21, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.1.2

Environment

antd:4.1.2,vue:3.4.14,Operating System: win11,Browser(Edge):122.0.2365.38

Reproduction link

https://github.com/fare-xzy/antd-bug.git

Steps to reproduce

<a-card class="card" :bordered="false">
<template #title>
升级包内容&nbsp;&nbsp;&nbsp;&nbsp;
<a-radio-group name="radioGroup">
<a-radio value="1">占位1</a-radio>
<a-radio value="2">占位2</a-radio>
</a-radio-group>
<a-divider type="vertical" />
升级步骤
<a-input/>
</template>
<a-checkbox>
全选
</a-checkbox>
</a-card>

What is expected?

Normal display of input box

What is actually happening?

It shows three dots.


Using native can be displayed correctly.

image

@fare-xzy
Copy link
Author

input 需要设置宽度,如果不设置这里会默认变成 …

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

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

No branches or pull requests

1 participant