Skip to content

无法通过ref正确执行懒加载的动态子组件 #4999

Closed
@TwT-L

Description

@TwT-L

Version

3.2.22

Reproduction link

github.com

Steps to reproduce

点击「Goto CheckBox」 然后再点击「back」。
重复上述步骤

What is expected?

第二次点击「back」仍然能返回「TextBox」

What is actually happening?

无法返回「TextBox」,ref 指向的component变成了null

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: keep-alive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions