[Bug] Handler not found for view Microsoft.Maui.Controls.Compatibility.RelativeLayout #3006
Labels
area-core-hosting
Extensions / Hosting / AppBuilder / Startup
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
fixed-in-6.0.200-preview.12
Look for this fix in 6.0.200-preview.12!
t/bug
Something isn't working
Description
I have a source code that still works properly on maui preview 8, visual studio 2022 preview 4. When upgrading should use maui preview 9, visual studio 2022 preview 5, I get the following error: Handler not found for view Microsoft.Maui.Controls.Compatibility.RelativeLayout
Steps to Reproduce
<Grid.GestureRecognizers>
</Grid.GestureRecognizers>
<ContentView.BindingContext>
model:MainPageObject/
</ContentView.BindingContext>
<cmp:RelativeLayout x:Name="RelativePreview"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand">
</cmp:RelativeLayout>
Expected Behavior
The program builds and runs successfully as preview 8
Actual Behavior
Error: Handler not found for view Microsoft.Maui.Controls.Compatibility.RelativeLayout.
Basic Information
Screenshots
The text was updated successfully, but these errors were encountered: