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

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

Open
TwT-L opened this issue Nov 26, 2021 · 0 comments · May be fixed by #5004 or #12290
Open

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

TwT-L opened this issue Nov 26, 2021 · 0 comments · May be fixed by #5004 or #12290
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: keep-alive

Comments

@TwT-L
Copy link

TwT-L commented Nov 26, 2021

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

@TwT-L TwT-L changed the title lazy-loaded dymamic component methods can't be executed correctly through ref 无法通过ref正确执行懒加载的动态子组件 Nov 26, 2021
@edison1105 edison1105 added scope: keep-alive 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: keep-alive
Projects
None yet
2 participants