unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
8.93k stars 725 forks source link

`ScrollViewer` weirdly propagates its `TemplatedParent` to its `Content` #3762

Open dr1rrb opened 4 years ago

dr1rrb commented 4 years ago

Current behavior

The ScrollViewer explicitly override the TemplatedParent of its Content in the ApplyScrollContentPresenterContent method.

If we remove this method, we might have a cyclic UI on iOS

Expected behavior

No patch

How to reproduce it (as minimally and precisely as possible)

Cf. linked bugs of https://github.com/unoplatform/uno/pull/3738 and https://github.com/unoplatform/uno/pull/3763 (When starting the Gallery project at commit 932e368, the app is stuck on the splashscreen on iOS)

Environment

Nuget Package: Uno.UI Package Version(s): 3.0 Affected platform(s):

MartinZikmund commented 4 weeks ago

@morning4coffe-dev this may be fixed now with #17645 , can you check please?

morning4coffe-dev commented 3 weeks ago

@MartinZikmund This seems to be iOS specific, do I have any way to test this without it?

MartinZikmund commented 3 weeks ago

Not really, will check