Skip to content

Commit c632f39

Browse files
committed
refactor: Prevent modal from closing on overlay click and ESC key for improved user experience
1 parent 86112b1 commit c632f39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pages/submit-meeting-summary/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,8 @@ const SubmitMeetingSummary: NextPage = () => {
518518
<Modal
519519
isOpen={showModal}
520520
onRequestClose={() => setShowModal(false)}
521+
shouldCloseOnOverlayClick={false}
522+
shouldCloseOnEsc={false}
521523
contentLabel="Select Summary Option"
522524
style={{
523525
overlay: {

0 commit comments

Comments
 (0)