-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Unselectable objects can be selected with Shift+click #5317
Comments
Also, the |
very weird, i may have broken it recently trying to simplify the code. |
i do not think i fixed and verified also the onSelect and onDeselect |
Version
2.4.0
Test Case
https://jsfiddle.net/2sqzt51f/
Information about the environment
Nodejs or browser? Browser
Which browsers? Chrome
Steps to reproduce
// 1- click on blue circle
// 2- hold shift
// 3- click on red circle while holding the shift
// 4- click on the center of rect (somewhere on the green rect)
// 5- release the shift
// 6- you can move the none selectable rect.
Expected Behavior
Unselectable won't be selected
Actual Behavior
Unselectable will be selected in multiselection with shift
Apparently back in old days, this issue has been resolved 2460, however, since activeSelection implementation it has been broken again. The
_shouldGroup
checks the activeSelection object for the selectable flag, not the actual target.The text was updated successfully, but these errors were encountered: