Selaa lähdekoodia

modified so that modal can remember the slide that has been closed

白石誠 5 vuotta sitten
vanhempi
sitoutus
37b41605e2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/client/js/components/PagePresentationModal.jsx

+ 1 - 1
src/client/js/components/PagePresentationModal.jsx

@@ -6,7 +6,7 @@ import {
 
 const PagePresentationModal = (props) => {
   return (
-    <Modal isOpen={props.isOpen} toggle={props.onClose} className="grw-presentation-page">
+    <Modal isOpen={props.isOpen} toggle={props.onClose} className="grw-presentation-page" unmountOnClose={false}>
       <ModalBody className="presentation-body">
         <iframe src={props.href} />
       </ModalBody>