Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpublish modal unreachable in document drawers #10108

Closed
akhrarovsaid opened this issue Dec 20, 2024 · 2 comments · Fixed by #10109
Closed

Unpublish modal unreachable in document drawers #10108

akhrarovsaid opened this issue Dec 20, 2024 · 2 comments · Fixed by #10109

Comments

@akhrarovsaid
Copy link
Contributor

Describe the Bug

Unpublish modals are not reachable when an editor has the document view opened inside of a drawer. This commonly happens when the document is being edited after being opened in something like a RelationshipTable or while editing a document while already inside of a edit-many flow with existing drawers open.

Link to the code that reproduces this issue

https://github.com/akhrarovsaid/payload/tree/repro/unpublish-unreachable-drawers

Reproduction Steps

  • Grab repro
  • pnpm dev _community
  • Navigate to posts collection
  • Click edit via drawer link
  • Observe drawer opening
  • Try to unpublish
  • Observe unreachable modal

Which area(s) are affected? (Select all that apply)

area: ui

Environment Info

Payload: 3.10.0
Next: 15.1.0
Node: 20+
Copy link
Contributor

🚀 This is included in version v3.11.0

Copy link
Contributor

This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant