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

tabs中嵌套tabs,内部的tabs会有一次多余的动画 #2689

Closed
tracy2zhang opened this issue Mar 28, 2022 · 1 comment
Closed

tabs中嵌套tabs,内部的tabs会有一次多余的动画 #2689

tracy2zhang opened this issue Mar 28, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@tracy2zhang
Copy link

TuSimple/naive-ui version (版本)

2.27.0

Vue version (Vue 版本)

3.2.31

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

chrome99.0.4844.74

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

macos12.3

Node version (Node 版本)

16.3

Reappearance link (重现链接)

https://codesandbox.io/s/epic-heisenberg-7lhztm?file=/src/Demo.vue

Reappearance steps (重现步骤)

  1. n-tabs中嵌套一个type为line的n-tabs,放在第一个n-tab-panel里
    2.第一个n-tab-pane的display-directive属性为:show:lazy
    3.切换外层的n-tabs到第二个n-tab-panel
    4.然后再切换回第一个n-tab-panel

Expected results (期望的结果)

里层的n-tabs中激活的tab的下标线不变

Actual results (实际的结果)

里层的n-tabs中激活的tab的下标线会出现一次动画

Remarks (补充说明)

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

2022-03-28.18.11.07.mov

@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Mar 28, 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

No branches or pull requests

2 participants