-
Notifications
You must be signed in to change notification settings - Fork 854
[Mobile][Skia][Wasm] cannot set the ItemsPanelTemplate to be a StackPanel on FlipView #13944
Copy link
Copy link
Open
Bug
Copy link
Labels
area/porting 🖨️Categorizes an issue or PR as relevant for porting of WinUI codeCategorizes an issue or PR as relevant for porting of WinUI codedifficulty/challenging 🤯Categorizes an issue for which the difficulty level is reachable with internals understandingCategorizes an issue for which the difficulty level is reachable with internals understandinghas-repro-branchkind/bugSomething isn't workingSomething isn't workingproject/items 🧾Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...)Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...)triage/potentially-fixedCategorizes an issue as potentially fixed by some unlinked PR, fix needs to be verifiedCategorizes an issue as potentially fixed by some unlinked PR, fix needs to be verified
Metadata
Metadata
Assignees
Labels
area/porting 🖨️Categorizes an issue or PR as relevant for porting of WinUI codeCategorizes an issue or PR as relevant for porting of WinUI codedifficulty/challenging 🤯Categorizes an issue for which the difficulty level is reachable with internals understandingCategorizes an issue for which the difficulty level is reachable with internals understandinghas-repro-branchkind/bugSomething isn't workingSomething isn't workingproject/items 🧾Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...)Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...)triage/potentially-fixedCategorizes an issue as potentially fixed by some unlinked PR, fix needs to be verifiedCategorizes an issue as potentially fixed by some unlinked PR, fix needs to be verified
Type
Fields
Give feedbackNo fields configured for Bug.
Current behavior
When you set the ItemsPanelTemplate to be a stackpanel on IOS, it throws an exception



On android it looks like this:
On skia and WASM, it doesnt show up
Expected behavior
It should be like on windows, where you can do it so that the height is set automatically

Instead of having to set a hardcoded height.
How to reproduce it (as minimally and precisely as possible)
In the MainPage
BasicApp.zip
Workaround
You can hardcode a height to be the same as the expected height
Works on UWP/WinUI
Yes
Environment
No response
NuGet package version(s)
Affected platforms
WebAssembly, Android, iOS, Skia (GTK on Linux/macOS/Windows)
IDE
Visual Studio 2022
IDE version
17.7.4
Relevant plugins
No response
Anything else we need to know?
No response