Skip to content

feat(Select): customisable box-select activator#2730

Open
SAY-5 wants to merge 1 commit into
pmndrs:v11-workingfrom
SAY-5:feat/2308-select-box-activator
Open

feat(Select): customisable box-select activator#2730
SAY-5 wants to merge 1 commit into
pmndrs:v11-workingfrom
SAY-5:feat/2308-select-box-activator

Conversation

@SAY-5

@SAY-5 SAY-5 commented May 13, 2026

Copy link
Copy Markdown

Why

Resolves #2308. @DennisSmolek mentioned the API bugs him and that PRs are welcome targeting v11.

What

Add an optional boxSelectActivator: (event: PointerEvent) => boolean prop to Select. The default is (event) => event.shiftKey, so existing behavior is preserved. Consumers can now opt into left-button-only or any other trigger.

Checklist

  • Documentation updated
  • Ready to be merged

@vercel

vercel Bot commented May 13, 2026

Copy link
Copy Markdown

@SAY-5 is attempting to deploy a commit to the Poimandres Team on Vercel.

A member of the Team first needs to authorize it.

@DennisSmolek

Copy link
Copy Markdown
Member

The API does bug me lol but I cant remember exactly why. do you have a link to that convo?

@SAY-5

SAY-5 commented May 18, 2026

Copy link
Copy Markdown
Author

It is your own comment on the linked issue: #2308 (comment) ("I agree the api bugs me"). Happy to adjust the prop shape if you have a preferred design.

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.

2 participants