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

TimePicker: Icon misaligned when you set clearable true #222

Closed
Nikhilchandra-Rathod opened this issue Jun 21, 2021 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@Nikhilchandra-Rathod
Copy link

TuSimple/naive-ui version (版本)

2.12.2

Vue version (Vue 版本)

3.1.1

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

Chrome(91.0.4472.114)

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

Windows 10

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/youthful-vaughan-nw0m7?file=/src/App.vue

Reappearance steps (重现步骤)

  • Set clearable flag true in timepicker

Expected results (期望的结果)

  • Time icon should be align to right

Actual results (实际的结果)

  • Time icon is misaligned

Remarks (补充说明)

@07akioni 07akioni added the bug Something isn't working label Jun 21, 2021
@WJCHumble
Copy link
Contributor

需要 pr 吗,把 base-clearposition 改为 absolute 可以解决这个问题,也不会影响 input

@07akioni
Copy link
Collaborator

需要 pr 吗,把 base-clearposition 改为 absolute 可以解决这个问题,也不会影响 input

已经关了,你可以看一眼对应的 PR 和代码,这个其实有做过相应的实现,只是有的时候忘了改了

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

No branches or pull requests

3 participants