swarmcity / SwarmCityDapp

Swarm City dApp FrontEnd
MIT License
28 stars 10 forks source link

Resize avatar remembers the new image even if user clicks on cancel #735

Closed hershkoy closed 6 years ago

hershkoy commented 6 years ago

Location

resize-avatar

Expected behavior

If I click on cancel, next time I go to to revise avatar I want to see the current image

Actual behavior

I click on cancel, and next time I go to to revise avatar I still see the new 'cancelled' image. The current image is gone.

Steps to reproduce the problem

go to revise avatar, choose another file, click on the X, go back to revise avatar You will see the new image

Operating system / hardware

was observed on desktop & iphone.

avatar_issue.gif

P.S: The only way to get rid of the new image is by refreshing the page, which is not possible on mobile using the "app homescreen icon"

kikipluche commented 6 years ago

@hershkoy nice find

BvL13 commented 6 years ago

@xardass can you review this and move to done if its OK? Thank you.

xardass commented 6 years ago

@bkawk fix this pls thank you