Welcome to the .NET MAUI feedback portal. We’re happy you’re here! If you have feedback on how to improve the .NET MAUI, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

When changing the Value property of a SfNumericInput, the control can either underflow/overflow which causes the app to freeze.

To see what could have caused this, I have subscribed to the ValueChanged event:

private void SfNumericEntry_OnValueChanged(object sender, NumericEntryValueChangedEventArgs e)
{
Console.WriteLine($"{e.OldValue} / {e.NewValue}");
}

This is the console output:

1.89189189189189 / 1.8918918918918892
1.8918918918918892 / 1.89189189189189
1.89189189189189 / 1.8918918918918892
1.8918918918918892 / 1.89189189189189
1.89189189189189 / 1.8918918918918892
1.8918918918918892 / 1.89189189189189
...

Since OldValue and NewValue are constantly changing, the app freezes because the ValueChanged event keeps firing. Using Math.Round to a smaller number of decimal places before assigning the Value property did not help and the issue still remains.