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-switch在loading状态切换时,loading的icon的位置会发生跳动 #2870

Closed
tracy2zhang opened this issue Apr 29, 2022 · 1 comment · Fixed by #2879
Closed

n-switch在loading状态切换时,loading的icon的位置会发生跳动 #2870

tracy2zhang opened this issue Apr 29, 2022 · 1 comment · Fixed by #2879
Assignees
Labels
bug Something isn't working

Comments

@tracy2zhang
Copy link

TuSimple/naive-ui version (版本)

2.28.2

Vue version (Vue 版本)

3.2.33

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

100.0.4896.127

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

Macos12.3.1

Node version (Node 版本)

16.3

Reappearance link (重现链接)

https://codesandbox.io/s/ecstatic-frost-5l8oyr?file=/src/Demo.vue

Reappearance steps (重现步骤)

  1. n-switch初始loading为false
    2.点击按钮loading设为true,3秒后loading改为false

Expected results (期望的结果)

loading为true时出现loading icon,loading为false,loading icon消失

Actual results (实际的结果)

loading icon在出现和消失的时候,在小圈里的位置会跳动

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Apr 29, 2022
@tracy2zhang
Copy link
Author

2022-04-29.15.21.12.mov

@XieZongChen XieZongChen added bug Something isn't working and removed untriaged need to sort labels Apr 29, 2022
@XieZongChen XieZongChen self-assigned this May 2, 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