-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
Description
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
Copilot