-
Notifications
You must be signed in to change notification settings - Fork 636
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
DYN-5018 Collapsed group moving fix #13073
DYN-5018 Collapsed group moving fix #13073
Conversation
Is there a Jira task linked or just a bug you found? |
It's a bug that Aabi found related to the task DYN-5018 |
else | ||
{ | ||
//If the annotation is not expanded, than it will remain the same width of the last time it was expanded | ||
Width = lastExpandedWidth; |
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.
Would there be any edge case that the new width should not be set to last expanded width?
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.
Thinking about it, maybe no edge case since we currently disable adding new elements into group when it is collapsed
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.
That's right, the width will be the same when the group is collapsed.
} | ||
else | ||
{ | ||
//If the annotation is not expanded, than it will remain the same width of the last time it was expanded |
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.
than -> then
expanded, then it will
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.
whops, thanks!
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.
LGTM once comments addressed
Purpose
This PR is to fix the bug when the user moves a collapsed group horizontally.
The issue was occurring because of an unusual change in the width value. To fix that was created a variable to keep the previous value of the group's width when collapsed.
Declarations
Check these if you believe they are true
*.resx
filesReviewers
@QilongTang @pinzart