Open drasticactions opened 3 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Description
Some parent elements being sent to VisualDiagnostics.VisualTreeChanged for new items are null, resulting in -1 Child Index values. Checking the children values, the parent is null there too. This seems to happen consistently for
As far as I can tell, this is not a regression. I think it's always done from early in MAUIs history. This doesn't break tools like XAML Hot Reload, but we need to recalculate the visual tree for these elements and that can be costly to do.
Steps to Reproduce
Or
Link to public reproduction project repository
https://github.com/davidortinau/AllTheLists
Version with bug
8.0.40 SR5
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response