Skip to content

[stable33] fix(TaskItem): use div instead of label element as task item wrapper#8572

Merged
mejo- merged 2 commits into
stable33from
backport/8568/stable33
May 12, 2026
Merged

[stable33] fix(TaskItem): use div instead of label element as task item wrapper#8572
mejo- merged 2 commits into
stable33from
backport/8568/stable33

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 12, 2026

Backport of PR #8568

mejo- added 2 commits May 12, 2026 09:53
Signed-off-by: Jonas <jonas@freesources.org>
Fixes problems with more than one block node in task items. `label`
elements have special click behaviour: clicking on them fires a second
click on the their first "labelable" descendant.

This resulted in weird bugs when having e.g. a code block or image as
second block node in a task item.

Fixes: #5225

Signed-off-by: Jonas <jonas@freesources.org>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

❌ Patch coverage is 72.22222% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/nodes/TaskItem.ts 72.22% 3 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

@mejo- mejo- merged commit 38f932e into stable33 May 12, 2026
61 of 62 checks passed
@mejo- mejo- deleted the backport/8568/stable33 branch May 12, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant