Select any ERC-20 asset (for example "FEI") inside "From" drop-down
Click on your asset balance to fill maximum amount to swap
Click on "Approve" button (button is active all time)
Click on "Submit Order" button (button is active all time)
Current behavior:
after clicking on "Approve" button when converting a token, it stays enabled for the whole time which could lead users to place multiple approval transactions. Same behavior for "Submit Order" button.
Expected behavior:
"Approve" button should be disabled until transaction is confirmed or when user changes the list to another asset.
"Submit Order" button should be disabled until transaction is confirmed or when user changes any amount inside input field or when users changes the list to another asset.
Screenshots:
Desktop (please complete the following information):
Description: After clicking on "Approve" button when converting a token, it stays enabled for the whole time. Same applies to "Submit Order" button.
Prerequisites:
Reproduction steps:
Current behavior:
Expected behavior:
Screenshots:
Desktop (please complete the following information):