status-desktop icon indicating copy to clipboard operation
status-desktop copied to clipboard

fix: can't proceed further when clicking back button on any of keycards screens

Open saledjenic opened this issue 7 months ago • 1 comments

I've tested this and was able to reproduce it, but it was nothing wrong in the code implementation itself, it's up to the keycard lib low-level things. What we're doing, when the user clicks to run any flow, we ensure that it can be run successfully by calling the cancel flow immediately before it, but in some cases even the cancel flow is called it doesn't invalidate all the things on the lib side if at the moment when we run next flow, because of that we may see "already running" response, so in this PR we just delay the next flow call for 200ms after calling the cancel flow. Tested the app a lot after it and couldn't reproduce the issue.

Fixes: #15113

saledjenic avatar Jul 05 '24 13:07 saledjenic