`ScrollViewer` weirdly propagates its `TemplatedParent` to its `Content`
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):
- [x] iOS
- [ ] Android
- [ ] WebAssembly
- [ ] WebAssembly renderers for Xamarin.Forms
- [ ] macOS
- [ ] Windows
- [ ] Build tasks
- [ ] Solution Templates
@morning4coffe-dev this may be fixed now with #17645 , can you check please?
@MartinZikmund This seems to be iOS specific, do I have any way to test this without it?
Not really, will check
The relevant code that propagates the templated-parent was removed in #17645.
Not sure about the original problem that required this behavior/workaround, but it is been half a year since TP rework was completed and there is no report of SV related issue. I would assume it is safe to close this now.