Skip to content

Commit

Permalink
fix: Don't set [Min|Max][Width|Height] to NaN (#1338)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5134c3e)
  • Loading branch information
Youssef1313 authored and mergify[bot] committed Jan 31, 2024
1 parent 5a164fd commit 697b51e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/library/Uno.Material/Styles/Controls/v1/Flyout.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
<Setter Property="VerticalContentAlignment"
Value="Stretch" />
<Setter Property="MinWidth"
Value="NaN" />
Value="0" />
<Setter Property="MinHeight"
Value="NaN" />
Value="0" />
<Setter Property="MaxWidth"
Value="NaN" />
Value="PositiveInfinity" />
<Setter Property="MaxHeight"
Value="NaN" />
Value="PositiveInfinity" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="FlyoutPresenter">
Expand Down
8 changes: 4 additions & 4 deletions src/library/Uno.Material/Styles/Controls/v2/Flyout.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
<Setter Property="VerticalContentAlignment"
Value="Stretch" />
<Setter Property="MinWidth"
Value="NaN" />
Value="0" />
<Setter Property="MinHeight"
Value="NaN" />
Value="0" />
<Setter Property="MaxWidth"
Value="NaN" />
Value="PositiveInfinity" />
<Setter Property="MaxHeight"
Value="NaN" />
Value="PositiveInfinity" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="FlyoutPresenter">
Expand Down

0 comments on commit 697b51e

Please sign in to comment.