-
Notifications
You must be signed in to change notification settings - Fork 628
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: Hide content highlight on comment drag, update on resize. #2400
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but converted to draft so it doesn't accidentally get merged.
@@ -48,7 +48,7 @@ | |||
"typescript": "^5.4.5" | |||
}, | |||
"peerDependencies": { | |||
"blockly": "^11.0.0" | |||
"blockly": "^11.1.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need another bump before being merged correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. The current release is v11.1.1, so I picked a higher number, but I don't know whether the next release will be a minor or patch release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am also not sure! I don't think we've discussed our next release timeline yet. I'll leave this unresolved for now to make sure we check before releasing.
The basics
The details
Resolves
Fixes #2330
Proposed Changes
Temporarily hides the content highlight when a workspace comment drag is initiated, and reveals it with an updated rectangle when the drag is completed. This is consistent with how block drags are handled.
When a workspace comment resize is completed, the content highlight rectangle is updated. (There's currently no event representing the start of a resize drag, but it's better than nothing.)
Reason for Changes
For consistency with moving regular blocks.
Test Coverage
None.
Documentation
N/A
Additional Information
This PR should not be submitted until the an update is published for the core Blockly library containing: google/blockly#8217