Polkadex-Substrate / Polkadex-Open-Beta

12 stars 3 forks source link

Found scenario where clicking open order does not copy price #445

Open jaymansfield opened 1 year ago

jaymansfield commented 1 year ago

Found scenario where clicking open order does not copy price.

It normally works but not under this scenario:

Steps to reproduce

  1. Open fresh exchange page with trading account in use
  2. Toggle to market order
  3. Click sell tab
  4. Click buy tab
  5. Toggle to limit order
  6. Now click on row in orderbook table, price is not copied over. Something happens when performing the previous steps that breaks it.

Realized when I click the order it is copying the price to the sell form (which is currently hidden because i am on the buy form). It's like the system lost track of which order form was open

https://user-images.githubusercontent.com/6218678/206510032-f0ee4f5e-e385-4103-a3c4-45a48e72c07a.mov

onchainaddress:{esm99RRxKvainDsRR6UHRcju4vNnAw1ouZEw64Yfn12tc6HpQ}