related to T2610. When inputting an incorrect eCash address in the DestinationAddressMulti input, a long string caused the error message to extend beyond the boundaries of the app. Container div added to avoid this issue.
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project - Commits
- rABC0f02ef185f3c: [Cashtab] Patch overflow from error string in send one to many input
cd web/cashtab && npm start
navigate to send screen
in the advanced dropdown, toggle the multiple recipients switch
input a long string that is not a valid XEC address
observe that the error message does not extend beyond the boundary of the app
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- patch-error-overflow-one-to-many
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 19858 Build 39430: Build Diff cashtab-tests Build 39429: arc lint + arc unit
Event Timeline
web/cashtab/src/components/Send/Send.js | ||
---|---|---|
941 ↗ | (On Diff #34708) | Is there a reason this fix could not be implemented by modifying the existing <DestinationAddressMulti> component? Preference is to modify existing component and not use a wrapper. Wrapper is acceptable if className is required to patch on <DestinationAddressMulti> |
web/cashtab/src/components/Send/Send.js | ||
---|---|---|
941 ↗ | (On Diff #34708) | I didn't think I could which was why I initially used the container div, however on closer inspection there was actually a typo in EnhancedInputs.js which was making it impossible to implement the changes from there. Pushing now with the typo fixed to show that it works, but if fixing the typo requires its own diff I can certainly make a task/diff for that. |
Maybe not related to this diff but what's going on with this undefined?
To recreate, copy paste a blockhash into the field, like 00000000000000000f8513a596bb077a8e54cb02b89ba3d1d91b43cb08afad05
Undefined is showing because there is no ,amount following the address. I can create a task / diff to fix it so that does not show.