FalconX-DEX / Falx-Support

3 stars 0 forks source link

Can't manually enter value for swapping or pools. #51

Open Tdjc919 opened 1 month ago

Tdjc919 commented 1 month ago

Describe the bug I can enter any number, manually, into the swapping or pool page. But it only accepts integers and not numbers with comma's, except when you use the 25/50/75/100% buttons, then it does work.

To Reproduce Steps to reproduce the behavior:

  1. Go to swap
  2. Enter any non integer number in the upper field e.g. 1,4 or 0,32
  3. Click on swap
  4. See error: the input must be a valid number.

Smartphone (please complete the following information):

Tdjc919 commented 1 month ago

![Uploading Screenshot_20240914_134741_Phantom.jpg…]()

Tdjc919 commented 1 month ago

Screenshot_20240914_134741_Phantom

Tdjc919 commented 1 month ago

Mike has the same problem as me. He can also only input integers. On my phone I can only use the comma, somehow and not a point. Could that be something that's causing trouble?

Lissanro commented 1 month ago

Warning: I deleted scammer's fake message. In case you received fake message to your email, do not click any links!

Thank you for reporting the issue. We will look into the input issue.

Tdjc919 commented 1 month ago

Mike uses the S10

Lissanro commented 1 month ago

This issue should be fixed. Please refresh the page and try again. If still happens, please let me know.

Tdjc919 commented 1 month ago

It is still not working. But the problem is different. Now I cannot enter a , or .

Tdjc919 commented 1 month ago

Why has it been closed? The problem persists..

Lissanro commented 1 month ago

Don't worry, I am looking into it right now.

Lissanro commented 1 month ago

I changed the implementation for the input field in way that should be compatible with all browser and device combinations, so it should be fixed now, please retest.

Tdjc919 commented 1 month ago

Hero! It works for swapping. If you can also use this implementation for adding liquidity, then everything is solved for this ticket :D

Tdjc919 commented 1 month ago

Please reopen. Issue not yet fully solved.