sygmaprotocol / sygma-widget

Transfer widget for the sygmaprotocol
5 stars 2 forks source link

fix: easier amount input #159

Closed mpetrunic closed 3 months ago

mpetrunic commented 3 months ago

Description

Related Issue Or Context

Closes: #150

How Has This Been Tested? Testing details.

Types of changes

Checklist:

wainola commented 3 months ago

there is a small issue with the cursor when deleting the amount, it goes to the start of the input and leave some numbers there

mpetrunic commented 3 months ago

there is a small issue with the cursor when deleting the amount, it goes to the start of the input and leave some numbers there

This is default behavior of number type input. If we switch to text, it will not do that but it will also allow non number inputs and won't respect locale. I'm fine with switching to text input if you think it's better

Lykhoyda commented 3 months ago

@mpetrunic @wainola I think we can keep the type number for now, it's not causing big issues. If we want to change it, we can open a new issue. I will approve this one