Skip to content

[6.x] Prevent Bard sets from selecting form controls - #15327

Merged
jasonvarga merged 1 commit into
6.xfrom
prevent-bard-set-selection
Sep 1, 2026
Merged

[6.x] Prevent Bard sets from selecting form controls#15327
jasonvarga merged 1 commit into
6.xfrom
prevent-bard-set-selection

Conversation

@duncanmcclean

@duncanmcclean duncanmcclean commented Sep 1, 2026

Copy link
Copy Markdown
Member

This pull request fixes an issue where interacting with a form control in a Bard set selects the whole set.

This was happening because custom form controls emit their mousedown from non-native elements, which Tiptap does not recognise as inputs.

This PR fixes it by preventing form-control mousedown events from reaching ProseMirror.

Before

CleanShot.2026-09-01.at.10.30.02.mp4

After

CleanShot.2026-09-01.at.10.26.17.mp4

Fixes #15207

@jasonvarga
jasonvarga merged commit 92bff4a into 6.x Sep 1, 2026
66 checks passed
@jasonvarga
jasonvarga deleted the prevent-bard-set-selection branch September 1, 2026 13:46
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.

Clicking the non-input area of a select inside a Bard set node-selects the whole set

2 participants