Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The <Select /> component requires holding the Shift key to open the selection box #2308

Open
hichem-code opened this issue Jan 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@hichem-code
Copy link

"three": "^0.156.1"
"@react-three/drei": "^9.121.2",
"@react-three/fiber": "^8.14.2",

  • node version:
  • npm (or yarn) version:

Problem description:

The component requires holding the Shift key to open the selection box, as per the default behavior. However, the documentation does not provide an alternative method or instructions on how to modify this behavior. This is problematic in scenarios where users may want to trigger the selection box using only the left mouse click or any other interaction method. Suggested solution: Provide an API or a prop (e.g., trigger or activationKey) to customize the interaction for opening the selection box. This would allow developers to define their preferred interaction, such as using only the left mouse button or any other key combination.

@hichem-code hichem-code added the bug Something isn't working label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant