uno icon indicating copy to clipboard operation
uno copied to clipboard

[iOS] Avoid non-`UIElement` items in `ChildrenShadow`

Open MartinZikmund opened this issue 1 year ago • 1 comments

What would you like to be added

In some cases, iOS adds custom temporary UIViews (accessibility/input related). as children of our UIElements. This is a problem as Children as a UIElementCollection assumes that there will be no null items. Hence we need to make sure to filter away the non-UIElement children and avoid their projection to Children as null

Why is this needed

Reliability.

For which platform

iOS

Anything else we need to know?

No response

MartinZikmund avatar Oct 15 '24 16:10 MartinZikmund

NOTE: When fixing this, the workaround in https://github.com/unoplatform/uno/pull/18470 can be reverted

Youssef1313 avatar Oct 18 '24 16:10 Youssef1313