-
Notifications
You must be signed in to change notification settings - Fork 47
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
#2264 Common Properties Button is hidden on height change #2265
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: srikant <[email protected]>
Signed-off-by: srikant <[email protected]>
@srikant-ch5 can you fix the build? |
Build is failing because tests are failing due to below error. I think its not related to the changes in this PR as these are failing even when I test in main branch so trying to figure out the root cause. |
@matthoward366 Could you please have a look at this PR ? |
// only hide resize button if resize wasn't from clicking resize button | ||
if (!this.resizeClicked) { | ||
this.setState({ showResizeBtn: false }); | ||
detectResize(_width, height) { |
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.
Any reason you have _width and not just width
to match height?
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.
since width
is not used anywhere in the function build was failing due to unused variable error so to overcome it I included _
.
Fixes: #2264
Developer's Certificate of Origin 1.1