MetaMask / MetaMask/metamask-mobile
[Bug]: It requires 2 clicks to save a new spending cap
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
**Describe the bug**
After editing, I need to click twice on "Save" to apply my spending cap edit. The first time you click, it just hides the keypad and they you need to click again to apply the changes.
**Screenshots/Recordings**
https://github.com/user-attachments/assets/b5bd8fd5-e934-461b-b5de-b9c60d3e885b
**Steps to reproduce**
1. Go to test dapp
2. Trigger token approval
3. Edit the soending cap
4. Notice how clicking the first time on "Save" just hides the keypad and you need to click again on "Save" to apply the changes
**Error messages or log output**
```shell
```
**Detection stage**
in production
**Version**
7.53.0
**Build type**
None
**Device**
iphone 11
**Operating system**
iOS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the test dapp on an iPhone 11 running iOS, following the token approval and spending-cap edit steps. Trace the Save and keypad interaction; done means one tap on Save applies the new spending cap instead of only hiding the keypad.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100