You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[regression/7.0.0] [MAUI-Windows] "Element not found. (0x80070490)" exception occurs when ScrollView is inside a FlexLayout #9905
I have the same problem but an app with a FlexLayout crashes with the same exception even without a ScrollView. I have created a simple repro project for it: https://github.com/holecekp/MauiBugFlexLayout
The crashes are on Windows only. It does not crash on Android, but the FlexLayout is rendered incorrectly there.
changed the title [-][MAUI-Windows] "Element not found. (0x80070490)" exception occurs when ScrollView is inside a FlexLayout[/-][+][regression/7.0.0] [MAUI-Windows] "Element not found. (0x80070490)" exception occurs when ScrollView is inside a FlexLayout[/+]on Sep 18, 2023
Activity
holecekp commentedon Oct 5, 2022
I have the same problem but an app with a FlexLayout crashes with the same exception even without a ScrollView. I have created a simple repro project for it:
https://github.com/holecekp/MauiBugFlexLayout
The crashes are on Windows only. It does not crash on Android, but the FlexLayout is rendered incorrectly there.
hartez commentedon Nov 23, 2022
Digging into this, it appears that "Element not found" is a red herring; the underlying problem is a layout cycle.
Qws commentedon Nov 27, 2022
I have this issue too.
Maui needs a dynamic and reliable flex solution. That dynamically wraps the controls based on container size.
In UWP/WinUI3 there is GridView. In HTML/CSS there is Flex display.
1 remaining item
[-][MAUI-Windows] "Element not found. (0x80070490)" exception occurs when ScrollView is inside a FlexLayout[/-][+][regression/7.0.0] [MAUI-Windows] "Element not found. (0x80070490)" exception occurs when ScrollView is inside a FlexLayout[/+]