Fix an issue with not being able to group a shape an an arrow. #2205
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was an issue with preventing grouping of a shape and an arrow bound to it.
There was another issue where you had a shape and an unbound arrow grouped. If you then tried to bind the arrow to the shape it would ungroup the two.
The underlying issue for both was the same and it goes something like this:
registerAfterChangeHandler
cb.onChildrenChange
inGroupShapeUtil
which removes the group.Before
Cant create the group
CleanShot.2023-11-13.at.16.19.47.mp4
Binding ungroups
CleanShot.2023-11-13.at.16.21.17.mp4
After
Can create the group
CleanShot.2023-11-13.at.16.20.14.mp4
Does not ungroup
CleanShot.2023-11-13.at.16.21.35.mp4
Fixes #2088
Fixes #2089
Change Type
patch
— Bug fixminor
— New featuremajor
— Breaking changedependencies
— Changes to package dependencies1documentation
— Changes to the documentation only2tests
— Changes to any test code only2internal
— Any other changes that don't affect the published package2Test Plan
Testing that you can correctly group a shape and an arrow bound to it
Testing that you don't ungroup an arrow when you unbind it from a shape
Release Notes
Footnotes
publishes a
patch
release, for devDependencies useinternal
↩will not publish a new version ↩ ↩2 ↩3