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

n-input组件在传入suffix的情况下设置clearable时,当未进行输入时后缀右侧会出现空白,suffix和清除按钮的位置顺序不合理 #428

Closed
bljessica opened this issue Jul 7, 2021 · 0 comments · Fixed by #431
Labels
bug Something isn't working

Comments

@bljessica
Copy link
Contributor

TuSimple/naive-ui version (版本)

2.15.3

Vue version (Vue 版本)

3.1.4

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

Chrome(91.0.4472.114)

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

Ubuntu 20.04.2 LTS

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/pensive-roentgen-p6fll?file=/src/Demo.vue

Reappearance steps (重现步骤)

不在文本框进行输入时,suffix右侧出现空白

Expected results (期望的结果)

清除按钮出现在suffix左侧

Actual results (实际的结果)

清除按钮出现在suffix右侧,导致未进行输入时右侧有空白

Remarks (补充说明)

@Volankey Volankey added bug Something isn't working and removed feature request New feature or request labels Jul 7, 2021
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.

3 participants