fix: View reordering on re-addition to same parent (#42085)

This commit is contained in:
Shelley Vohr 2024-05-10 10:16:33 +02:00 committed by GitHub
parent e2acdffe58
commit 3bd807b03e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 87 additions and 2 deletions

View file

@ -48,6 +48,9 @@ Objects created with `new View` have the following instance methods:
* `index` Integer (optional) - Index at which to insert the child view.
Defaults to adding the child at the end of the child list.
If the same View is added to a parent which already contains it, it will be reordered such that
it becomes the topmost view.
#### `view.removeChildView(view)`
* `view` View - Child view to remove.