You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an upload field is placed inside an array field — which itself is nested inside a Lexical rich text block — adding an image via the upload field causes the entire admin UI to completely freeze and become non-interactive. The screen stops responding to any user input (buttons, links, form fields all become unclickable). The only way to recover is to refresh the page, losing any unsaved work.
git clone https://github.com/robinnicholasraja/payload.git
cd payload
pnpm install
Boot the test admin UI:
pnpm dev _community
Log in with the default test credentials (dev@payloadcms.com / test)
Navigate to the Posts collection and create a new post
In the Rich Text field, add the "Gallery" block
Inside the Gallery block, add a new row to the array
In that array row, click the Upload field to select or upload an image
Observe: The entire admin UI freezes completely and becomes non-interactive
Expected Behavior
Adding an image through the upload field inside a nested array within a Lexical rich text block should work normally — the image should be selected/uploaded and the UI should remain responsive.
Actual Behavior
The UI becomes completely frozen and non-interactive after attempting to add/select an image via the upload field. No buttons, links, or form fields respond to clicks. A full page refresh is required to recover, and any unsaved work is lost.
Description
When an upload field is placed inside an array field — which itself is nested inside a Lexical rich text block — adding an image via the upload field causes the entire admin UI to completely freeze and become non-interactive. The screen stops responding to any user input (buttons, links, form fields all become unclickable). The only way to recover is to refresh the page, losing any unsaved work.
Environment
@payloadcms/richtext-lexical,@payloadcms/ui@payloadcms/db-postgres3.79.1Steps to Reproduce
git clone https://github.com/robinnicholasraja/payload.git cd payload pnpm installdev@payloadcms.com/test)Expected Behavior
Adding an image through the upload field inside a nested array within a Lexical rich text block should work normally — the image should be selected/uploaded and the UI should remain responsive.
Actual Behavior
The UI becomes completely frozen and non-interactive after attempting to add/select an image via the upload field. No buttons, links, or form fields respond to clicks. A full page refresh is required to recover, and any unsaved work is lost.
Reproduction
Fork: https://github.com/robinnicholasraja/payload
Clone and run:
git clone https://github.com/robinnicholasraja/payload.git cd payload pnpm install pnpm dev _communityThe minimal reproduction config is located in
test/_community/config.ts.Additional Context
Payload-bug.mp4