stacks-network / sbtc-bridge-web

Web tool to facilitage peg operations for sBTC
https://sbtc.world
GNU Affero General Public License v3.0
14 stars 5 forks source link

Don't hide button when Bitcoin input field errors #282

Closed Macxim closed 11 months ago

Macxim commented 11 months ago

Hiding content, especially action button is not very good UX-wise. Buttons should be always visible and users should be able to click them and see why it fails.

https://github.com/stacks-network/sbtc-bridge-web/assets/1909957/585e15f0-00ea-4759-a007-4c251c37fdc9

radicleart commented 11 months ago

how about adding disabled, change background colour, error message shows on hover ?

Screenshot 2023-10-27 at 12 26 06
radicleart commented 11 months ago

done - didn't change the button color but did make it disabled to prevent flow from proceding.