We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4156c02 commit 925e757Copy full SHA for 925e757
1 file changed
components/DataTable/src/DataTable/DataTable.cs
@@ -147,7 +147,7 @@ protected override Size MeasureOverride(Size availableSize)
147
--starRemains;
148
149
double width;
150
- if (double.IsFinite(starUnit))
+ if (!double.IsInfinity(starUnit) && !double.IsNaN(starUnit))
151
{
152
// If the column width needs to be calculated, get the proportion of the remained space.
153
width = starUnit * column.DesiredWidth.Value;
0 commit comments