What happened?
Description
When pasting Matrix blocks (via the field-level "Paste" action), the paste operation appears to succeed — the entry's modified indicator (blue left border) appears, confirming a change was registered — but the pasted blocks are not visually rendered in the field. After a page refresh, the pasted blocks appear correctly in the expected position.
This suggests the paste action writes the data to the draft state but fails to trigger the necessary DOM update to render the newly inserted blocks in the UI.
Screencast demonstrating the issue: screencast
Steps to reproduce
- Open an entry with a Matrix field containing one or more blocks.
- Copy one or more Matrix blocks.
- Use the "Paste" action on the Matrix field to paste the copied blocks.
- Observe the result.
Expected behavior
The pasted blocks should immediately appear in the Matrix field without requiring a page refresh.
Actual behavior
The paste action completes silently — the entry's modified indicator (blue left border) appears, confirming the data was changed — but the pasted blocks are not rendered in the UI. Refreshing the page reveals the blocks in the correct position.
Craft CMS version
5.10.1
Craft CMS version
5.10.1
PHP version
8.3.30
Operating system and version
macOS 26.3
Database type and version
MySQL 8.0.40
Image driver and version
Imagick 3.8.1 (ImageMagick 7.1.1-43)
Installed plugins and versions
- Bugsnag 5.0.2
- Child Me! 2.2.3
- CKEditor 5.6.1
- Craft MCP v1.2.2
- Dumper 5.0.1
- Formie 3.1.25
- Google Maps 5.2.2
- Hyper 2.3.7
- Image toolbox 3.0.1
- Matrix Field Preview 5.6.1
- Navigation 3.0.22
- SEO 5.1.21
- Sprig 3.7.2
- Vite 5.0.1
What happened?
Description
When pasting Matrix blocks (via the field-level "Paste" action), the paste operation appears to succeed — the entry's modified indicator (blue left border) appears, confirming a change was registered — but the pasted blocks are not visually rendered in the field. After a page refresh, the pasted blocks appear correctly in the expected position.
This suggests the paste action writes the data to the draft state but fails to trigger the necessary DOM update to render the newly inserted blocks in the UI.
Screencast demonstrating the issue: screencast
Steps to reproduce
Expected behavior
The pasted blocks should immediately appear in the Matrix field without requiring a page refresh.
Actual behavior
The paste action completes silently — the entry's modified indicator (blue left border) appears, confirming the data was changed — but the pasted blocks are not rendered in the UI. Refreshing the page reveals the blocks in the correct position.
Craft CMS version
5.10.1
Craft CMS version
5.10.1
PHP version
8.3.30
Operating system and version
macOS 26.3
Database type and version
MySQL 8.0.40
Image driver and version
Imagick 3.8.1 (ImageMagick 7.1.1-43)
Installed plugins and versions