msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
23 stars 14 forks source link

Wrong numbers showing when prescription input modal is loading #5142

Open marthakeezy opened 1 month ago

marthakeezy commented 1 month ago

What went wrong? 😲

When I fill out a prescription, wrong numbers show for a few seconds before updating. I only notice this behaviour on a tablet, and not when testing Desktop. The incorrect number showing appears to be In Store + Pack Qty Issued or Available + Pack Qty Issued before reverting back to the correct numbers.

Issue logged after discussion with @Chris-Petty

Video is atatched here

Expected behaviour 🤔

The numbers should show up consistently, regardless of what's entered in Pack Qty Issued

How to Reproduce 🔨

Steps to reproduce the behaviour:

  1. Go to Dispensary -> Prescription
  2. Create a new Prescription and add an item
  3. Update Pack Qty Issued and see how the rest of the numbers get updated for a bit before reverting to what they are supposed to be
  4. Funky town!

Your environment 🌱

andreievg commented 1 month ago

3252

Chris-Petty commented 1 month ago

@andreievg why link that issue?