Skip to content

fix: wrap contentblocks in accordion instead of gridlist#218

Merged
stefanprobst merged 1 commit intomainfrom
fix/content-blocks-events
Apr 12, 2026
Merged

fix: wrap contentblocks in accordion instead of gridlist#218
stefanprobst merged 1 commit intomainfrom
fix/content-blocks-events

Conversation

@stefanprobst
Copy link
Copy Markdown
Contributor

@stefanprobst stefanprobst commented Apr 11, 2026

this replaces GridList with Accordion as ContentBlocks wrapper. react-aria GridList does not yet have a proper edit mode, so it will swallow certain keyboard events (like arrow keys) from the richtext editor. the accordion approach tries to match what strapi does. when react-aria collection components add edit mode, we can revisit this.

@stefanprobst stefanprobst marked this pull request as ready for review April 12, 2026 09:25
@stefanprobst stefanprobst requested a review from babslgam as a code owner April 12, 2026 09:25
@stefanprobst stefanprobst merged commit 5de2e2f into main Apr 12, 2026
2 checks passed
@stefanprobst stefanprobst deleted the fix/content-blocks-events branch April 12, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant