Skip to content

Commit

Permalink
fix: fixed BindingContext not being propagated to its children
Browse files Browse the repository at this point in the history
  • Loading branch information
pictos authored and nickrandolph committed Jul 25, 2023
1 parent ffea0de commit b451b3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Uno.Extensions.Maui.UI/MauiContent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ void OnDataContextChanged(FrameworkElement sender, DataContextChangedEventArgs a
if (_host is not null && _host.BindingContext != DataContext)
{
_host.BindingContext = DataContext;
View.BindingContext = DataContext;
}
//DataContextChanged -= OnDataContextChanged;
}
Expand Down

0 comments on commit b451b3c

Please sign in to comment.