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

Call ClearChildren() when Children.Clear() is invoked #156

Open
taublast opened this issue Feb 6, 2025 · 0 comments
Open

Call ClearChildren() when Children.Clear() is invoked #156

taublast opened this issue Feb 6, 2025 · 0 comments
Assignees

Comments

@taublast
Copy link
Owner

taublast commented Feb 6, 2025

Discussed in #108

Originally posted by arifu-dev November 2, 2024
layout.Children.Clear(); does not remove any child views, removing them individually with layout.Children.RemoveAt(i); works as expected.

We can actually correctly remove them all with ClearChildren(). But knowing that this question will arise more and again we should definitely hook into Children.Clear() to invoke this from there..

@taublast taublast self-assigned this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant