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

fix: Update Regions.js #7192

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

carbaro
Copy link

@carbaro carbaro commented Mar 10, 2025

allow shiftkey to activate "additive mode" in the even of onClickRegion

Describe the bug
Function for selecting a range of regions (Select first, then Shift+click on last) is not working, as per the docs description in Labelling Guide > Select multiple regions

To Reproduce
Steps to reproduce the behavior:

  1. Go to a task with regions, or create a few (RectangleLabel in my case)
  2. Click on one in Regions list
  3. Hold shift and click on last Region of the desired range of regions to select

Expected behavior
All regions in the range between first and last (inclusive) are selected

Screenshots
If applicable, add screenshots to help explain your problem.
N/A

Environment (please complete the following information):

  • OS: Chrome on Windows 11
  • Label Studio Version: 1.16.0

Additional context
Haven't tested this fix, but noticed shiftKey was not included to activate additive mode, like Ctrl or Meta key are.

Issue reported last year, 6080

allow shiftkey to activate "additive mode" in the even of onClickRegion
Copy link

netlify bot commented Mar 10, 2025

👷 Deploy request for label-studio-docs-new-theme pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit c007ddc

Copy link

netlify bot commented Mar 10, 2025

👷 Deploy request for heartex-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit c007ddc

@carbaro carbaro changed the title Update Regions.js fix: Update Regions.js Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant