telerik / kendo-angular

Issue tracker - Kendo UI for Angular
http://www.telerik.com/kendo-angular-ui/
Other
466 stars 215 forks source link

[NumericTextBox] Stepping issue with very small numbers (e.g., stepsize 0.00000006) #4360

Open yanmariomenev opened 1 month ago

yanmariomenev commented 1 month ago

Describe the bug It appears that our stepping functionality breaks when the step property is set to a small decimal number exceeding seven decimal places. This issue seems to stem from how JavaScript handles numbers, similar to numeric input. Internally, our component should manage such decimal steps effectively.

To Reproduce Open and try to use arrow keys or scroll wheel in the first NumericTextBox - https://stackblitz.com/edit/angular-tsenbo-czg3u3?file=src%2Fapp%2Fapp.component.ts

https://github.com/user-attachments/assets/eef9d1b6-a2da-4070-9017-d0a81de06fda