I presume the component is handling the increment of the input value when the mouse wheel is turned.
Is there a way to stop the incrementation or a way to override the handler for this event?
2 Answers, 1 is accepted
0
Svet
Telerik team
answered on 03 Apr 2020, 08:49 AM
Hi Tudor,
Indeed, at the moment there isn't a built-in feature that allows to disable/enable the mouse scroll functionality for the NumericTextBox component. Please support the development of such feature by voting for the following feature request item of our public Feedback Portal:
That will help us to plan accordingly our future development plans based on the provided customer demand. Thank you.
What could be done as a workaround until the feature is released is to use some custom JavaScript in order to handle the generic (wheel) event of the input element used by the NumericTextBox and stop its propagation. Please check the following example demonstrating such approach:
I hope the provided information helps. Please let me know in case further assistance is required for this or any other Kendo UI for Angular related topic.
Regards,
Svetlin
Progress Telerik
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.