Skip to content

Bug in @payloadcms/richtext-slate when upgrading to Payload 2.28.0 related to faceless-ui/modal #8370

@cval95

Description

@cval95

Link to reproduction

No response

Describe the Bug

After upgrading to Payload CMS version 2.28.0, I encountered an issue when using @payloadcms/richtext-slate. The problem seems to be related to the ModalProvider component from the faceless-ui/modal package. The application throws an error indicating that useRef is being accessed on a null value.

Screenshot 2024-09-23 at 12 07 35

To Reproduce

Upgrade to Payload CMS version 2.28.0.
Install @payloadcms/richtext-slate
Attempt to use the Payload CMS

Payload Version

2.28.0

Adapters and Plugins

bundler-webpack, db-mongodb, plugin-seo, richtext-slate

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions