HomePhabricator

[Cashtab] Make number inputs type number and disable scroll changing

Description

[Cashtab] Make number inputs type number and disable scroll changing

Summary:
The old way to prevent scrolling from changing number values in input fields was to make them text inputs.

But this is bad for mobile UX, when user has to manually pull up the number bad.

Use onWheel to disable scrolling changes, and make number inputs numeric.

This patches fields for agora listings and redeeming firma / xecx

Test Plan: npm test

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D18129

Details

Provenance
bytesofmanAuthored on May 22 2025, 23:42
bytesofmanPushed on May 24 2025, 12:47
Reviewer
Restricted Project
Differential Revision
D18129: [Cashtab] Make number inputs type number and disable scroll changing
Parents
rABC9bf9a8db85c2: [Cashtab] Close window after a token send tx from link
Branches
Unknown
Tags
Unknown