Document drawers don't prompt the "Leave without saving" modal
Closed this issue · 2 comments
JarrodMFlesch commented
Describe the Bug
When making edits inside a document drawer and then closing it, the leave without saving modal never appears. This makes it easy to lose edits when editing inside a modal.
Link to the code that reproduces this issue
N/A
Reproduction Steps
- Create a relationship field on a collection
- Open the relationship drawer and make edits
- Close the drawer
- Not prompted with leave without saving modal
Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
Relevant Packages:
payload: 3.57.0
next: 15.5.2
@payloadcms/db-mongodb: 3.57.0
@payloadcms/next/utilities: 3.57.0
@payloadcms/ui/shared: 3.57.0
react: 19.0.0
react-dom: 19.0.0
github-actions commented
🚀 This is included in version v3.61.1
github-actions commented
This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.