Skip to content

Conversation

@lukasmasuch
Copy link
Collaborator

@lukasmasuch lukasmasuch commented Jan 21, 2026

Allows the selection of text in multi-select pills for copy and paste.

Copilot AI review requested due to automatic review settings January 21, 2026 18:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables text selection within multi-select cell pills by customizing the react-select component's MultiValueLabel behavior. By default, react-select prevents text selection to maintain control interactivity, but this change overrides that behavior to allow users to select and copy text from pill labels.

Changes:

  • Added a custom SelectableMultiValueLabel component that intercepts mouse and touch events to prevent react-select from blocking text selection
  • Updated imports to include MultiValueGenericProps type from react-select
  • Configured the Select component to use the custom MultiValueLabel implementation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lukasmasuch lukasmasuch merged commit 6970f81 into main Jan 21, 2026
9 checks passed
@lukasmasuch lukasmasuch deleted the feature/allow-text-selection-of-mutiselect-pills branch January 21, 2026 19:10
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