ripe-tech / ripe-sdk

The public Javascript SDK for RIPE Core
https://www.platforme.com
Apache License 2.0
8 stars 4 forks source link

fix: sets default values for initials and engraving on image update #302

Closed BeeMargarida closed 3 years ago

BeeMargarida commented 3 years ago
- -
Issue --
Dependencies --
Decisions What is happening?
In the specific case of the test, without setting the default values, there are two different requests: the first has the URL without initials and sets the _loadedCallback to its callback when it loads. However, when the second requests comes, it has a different URL and overrides the loadedCallback, never allowing the first request to finish.
It's necessary to cancel the previous request before making a new one.
Animated GIF Before:
image
Now:
image
ripe-tobias-bot[bot] commented 3 years ago

Woof, Woof!

Thank you for submitting the "fix: sets default values for initials and engraving on image update" pull request 😎.

Please do not forget to review our internal guidelines:

Engaging in the development process in the best possible way helps it being efficient and fast.

Your friend, Tobias (Platforme's mascot)

Tobias Bot