You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem
TuSimple/naive-ui version (版本)
2.34.4
Vue version (Vue 版本)
3.3.4
Browser and its version (浏览器及其版本)
Chrome (114.0.5735.201)
System and its version (系统及其版本)
Windows 11
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/p/sandbox/gracious-elgamal-p9l754?file=%2Fsrc%2FApp.vue%3A9%2C33
Reappearance steps (重现步骤)
在 VUE SFC 使用
NScrollbar
,并加上 class,<NScrollbar class="my-scrollbar">
SFC 包含
<style scoped>
Expected results (期望的结果)
NScrollbar 渲染出来的
div.n-scrollbar.my-scrollbar
元素 正确 包含 scoped css attr:data-v-*
Actual results (实际的结果)
未包含。 NScrollbar 组件 实例的 $el 为 Text Node, 下一个元素
nextSibling
才是 渲染的div.n-scrollbar.my-scrollbar
此问题 类似于 issue #1788
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: