mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
fix: prevent note modal from closing on outside click
Removed backdrop click-to-close on the note form modal so edits are not lost when clicking outside or switching browser tabs. Fixes #480
This commit is contained in:
@@ -313,7 +313,6 @@ function NoteFormModal({ onClose, onSubmit, onDeleteFile, existingCategories, ca
|
||||
padding: 16,
|
||||
fontFamily: FONT,
|
||||
}}
|
||||
onClick={onClose}
|
||||
>
|
||||
<form
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user