We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 设置 type="segment" 后, 放置 <n-layout has-sider> <n-layout-content style="height: calc(100vh - 64px)"></n-layout-content></n-layout> 中 滚动页面时会出现异常显示
<n-layout has-sider> <n-layout-content style="height: calc(100vh - 64px)"></n-layout-content></n-layout>
1.把 tabs 的 type 设置成 segment 2.放入<n-layout has-sider> <n-layout-content style="height: calc(100vh - 64px)"></n-layout-content></n-layout> 中 3.往 n-tab-pane 填充内容, 使其出现滚动条 4.滚动时 tabs 抬头就会显示异常, 跟着一起滚动
https://stackblitz.com/edit/vitejs-vite-uhs9pr?file=src%2FApp.vue
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 18.18.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.2.3 - /usr/local/bin/npm pnpm: 8.14.0 - /usr/local/bin/pnpm npmPackages: naive-ui: ^2.38.1 => 2.38.1 vue: ^3.4.20 => 3.4.20
npm
The text was updated successfully, but these errors were encountered:
fix(tabs): style bug with type is segment, closes tusen-ai#5728
segment
a1b3030
e69715d
Fix n-tabs whose type is 'segment' has capsule with wrong style…
n-tabs
type
'segment'
14ee205
…, closes [tusen-ai#5728](tusen-ai#5728).
7d6a4b7
fix(tabs): style bug with type is segment, closes #5728 (#5735)
ea3d4bd
Co-authored-by: 07akioni <07akioni2@gmail.com>
Successfully merging a pull request may close this issue.
描述错误
tabs 设置 type="segment" 后, 放置
<n-layout has-sider> <n-layout-content style="height: calc(100vh - 64px)"></n-layout-content></n-layout>
中 滚动页面时会出现异常显示复现步骤
1.把 tabs 的 type 设置成 segment
2.放入
<n-layout has-sider> <n-layout-content style="height: calc(100vh - 64px)"></n-layout-content></n-layout>
中3.往 n-tab-pane 填充内容, 使其出现滚动条
4.滚动时 tabs 抬头就会显示异常, 跟着一起滚动
最小复现链接
https://stackblitz.com/edit/vitejs-vite-uhs9pr?file=src%2FApp.vue
系统信息
使用的包管理器
npm
验证
The text was updated successfully, but these errors were encountered: