Răsfoiți Sursa

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

白石誠 5 ani în urmă
părinte
comite
37b41605e2
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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) => {
 const PagePresentationModal = (props) => {
   return (
   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">
       <ModalBody className="presentation-body">
         <iframe src={props.href} />
         <iframe src={props.href} />
       </ModalBody>
       </ModalBody>