penumbra-zone / web

Apache License 2.0
10 stars 7 forks source link

Disable default input scroll behavior #1326

Closed grod220 closed 2 days ago

grod220 commented 1 week ago

We've gotten reports of users getting confused as input amounts change on scroll:

https://github.com/penumbra-zone/web/assets/16624263/bfdb0642-cc38-48d5-bf90-16adc950fe33

This appears to be a default behavior of html input elements. If you hover your cursor above the input field and scroll, it increases/decreases the amount. Given these inputs are quite sensitive, we should override this behavior and prevent it.

This is happening on swap, send, and ibc forms.