Skip to content

ssr, nuxt3, tabs are dynamically added, beyond the width, the mouse is placed on the more button, and the error hydration node does not match #6202

@uubyte

Description

@uubyte
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.14

Environment

Win10,Google,nuxt3

Steps to reproduce

[Vue warn]: Hydration node mismatch:

  • Client vnode: Symbol(Comment)
  • Server rendered DOM: "" (text)
    at <AMenuItem key="/admin" id="rc-tabs-0-more-popup-/admin" role="option" ... >
    at
    at <ResizeObserver disabled=true onResize=fn >
    at <Overflow tabindex=-1 role="menu" aria-activedescendant=null ... >
    at <AMenu onClick= (2) [ƒ, ƒ] id="rc-tabs-0-more-popup" tabindex=-1 ... >
    at <Align target=fn key="popup" ref=Ref< undefined > ... >
    at <BaseTransition onBeforeEnter=fn appear=false persisted=false ... >
    at <Transition ref=Ref< undefined > onBeforeEnter=fn >
    at <PopupInner prefixCls="ant-tabs-dropdown" point=null align=

What is expected?

tabs动态添加,超出宽度,鼠标放到更多按钮上面,报错水合节点不匹配

What is actually happening?

tabs动态添加,超出宽度,鼠标放到更多按钮上面,报错水合节点不匹配

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions