-
- Downloads
Allow the back button to work with libraries
Push to history when the library mounts. Whenever popstate occurs after mounting, request to be closed. Behavior captured in the `Modal` container. If we want to re-use this functionality for anything else that uses `ModalComponent`, just use the `Modal` container rather than `ModalComponent`.
Showing
- src/components/library/library.jsx 5 additions, 3 deletionssrc/components/library/library.jsx
- src/containers/backdrop-library.jsx 1 addition, 0 deletionssrc/containers/backdrop-library.jsx
- src/containers/costume-library.jsx 1 addition, 0 deletionssrc/containers/costume-library.jsx
- src/containers/extension-library.jsx 1 addition, 0 deletionssrc/containers/extension-library.jsx
- src/containers/modal.jsx 54 additions, 0 deletionssrc/containers/modal.jsx
- src/containers/sound-library.jsx 1 addition, 0 deletionssrc/containers/sound-library.jsx
- src/containers/sprite-library.jsx 1 addition, 0 deletionssrc/containers/sprite-library.jsx
Loading
Please register or sign in to comment