Browse Source

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

白石誠 5 năm trước cách đây
mục cha
commit
37b41605e2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>