[5.x]: Matrix field shows no entries in “Cards” view when cards are full-width (single column)
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
What happened?
In multiple Craft CMS installations we can reproduce an issue where Matrix entries are not rendered in the Control Panel when the Matrix field is set to Cards view and displayed as full-width cards stacked vertically (single column).
The content exists (visible in other view modes), but Cards view shows an empty list.
Expected:
Matrix entries should be visible in Cards view.
Actual:
Cards view shows no entries (blank), while Card grid / Blocks / Index views show the entries correctly.
Steps to reproduce:
1. Create a Matrix field with at least one block type.
2. Add entries/blocks to an entry.
3. Switch the Matrix field’s view mode to Cards (full-width / single column layout).
4. Observe that the entries are not displayed.
https://github.com/user-attachments/assets/ef7289c4-05d7-4865-a22f-0e7ad29ab71c
Craft CMS version: 5.9.14
PHP version: 8.3/8.4
Operating system and version: Mac OS 26.2, Browser: Chrome/Opera
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Craft CMS 5.9.14 with a Matrix field set to Cards view and a full-width, single-column layout. Compare the Cards rendering with Card grid, Blocks, and Index views; done means existing Matrix entries are visible in the Cards view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100