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

当 NInput :size="tiny" 时, autosize 会导致组件下移, 与其他组件错位而无法对齐 #4167

Closed
GeekBerry opened this issue Dec 9, 2022 · 0 comments · Fixed by #4209
Labels
bug Something isn't working

Comments

@GeekBerry
Copy link

TuSimple/naive-ui version (版本)

2.34.1

Vue version (Vue 版本)

3.2.28

Browser and its version (浏览器及其版本)

Chrome(108.0.5359.94)

System and its version (系统及其版本)

Windows10

Node version (Node 版本)

19.0.1

Reappearance link (重现链接)

https://naive-ui.github.io/issue-helper/?lang=en-US

Reappearance steps (重现步骤)

<NSpace>
    <NInput size="tiny"/>
    <NInput size="tiny" autosize style="min-width: 10em"/>
</NSpace>

Expected results (期望的结果)

第一个NInput与第二个NInput 对齐

Actual results (实际的结果)

没有对齐

Remarks (补充说明)

在 size 其他情况下效果不明显

@github-actions github-actions bot added the untriaged need to sort label Dec 9, 2022
@Sepush Sepush added bug Something isn't working and removed untriaged need to sort labels Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants