So I have an app to track reagent consumptions, and one of the users gave me feedback on how they would like the scroll-to-increment feature on the TextBox components to be removed. This was the first time I’d heard of this and so I investigated and found that it actually is a feature, but its availability varies across browsers.
In the attached image I have a Firefox, Edge, and Chrome browser (left to right) all on the same webpage where this occurs. It seems like Firefox is the only browser that shows this available feature (additionally indicated by the up and down arrows), where you can increment the value by entering the TextBox and using your scroll wheel, or by pressing on the arrows.
The scroll-to-increment UI is implemented by browsers not Anvil. Here is an article which, although slightly out of date, discusses the different implementations:
To remove the spinners, you need to add the following to your app’s CSS:
Hey @ryan, thanks for the clarification! I tried out the CSS snippet and it seems to have removed the spinner incrementation icon. However, the functionality of it is still there so when I scrolled up and down it was incrementing the input by 1 for each scroll. Is there a way to disable both the icon and the functionality?