ubik23 / charactercreator

A frontend interface for creating characters in SVG.
Other
306 stars 78 forks source link

Selecting items doesn't work after download menu. #136

Open ubik23 opened 4 years ago

ubik23 commented 4 years ago

Reproduce: add items, click download and then close the download modal by clicking the 'x' in the top right corner.

once the modal is closed you can no longer select items in the menu. This is because the items are removed from the DOM during the download process. If the user clicks the 'x' to continue working on their character, we should add the items from the right panel back into the DOM so they can be selected by the user and shown by the application.

ubik23 commented 4 years ago

Using either showThumbOptions or openThumbs function.

When closing the modal, identify the current option and reinstate SVG elements inside DOM.