Skip to content
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-boundary-scale: adds scaling to boundary Fixes #820 #821

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

cor1
Copy link
Contributor

@cor1 cor1 commented May 24, 2024

Proposed solution

This fixes #820 that I just filed. Basically when using a boundary element that has transform scale the bounding box is not what you expect.

Testing Done

Tested fix in my current project that uses this library, by modifying the index.js that is in the bundle with the same change.

@alexiz10
Copy link
Contributor

alexiz10 commented Jun 24, 2024

Looks like the tsc GitHub action failed due to the usage of this.props.scale without first checking that it is undefined or providing an alternative value if it is.

@bokuweb
Copy link
Owner

bokuweb commented Jul 1, 2024

@cor1 Thanks for your great work:) sorry for late.
Could you please check tsc errors?

@cor1
Copy link
Contributor Author

cor1 commented Jul 17, 2024

@alexiz10 , @bokuweb sorry for the delay in my response. Didnt see your messages. I have cleaned up the code and fixed that.

@cor1
Copy link
Contributor Author

cor1 commented Sep 9, 2024

@bokuweb any update?

@bokuweb
Copy link
Owner

bokuweb commented Sep 10, 2024

@cor1 Sorry!! I'll check it!!!

Copy link
Owner

@bokuweb bokuweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🙏

@bokuweb bokuweb merged commit ded2aa0 into bokuweb:master Sep 10, 2024
@bokuweb
Copy link
Owner

bokuweb commented Sep 10, 2024

@cor1 6.9.18 published 🎉

@cor1
Copy link
Contributor Author

cor1 commented Sep 16, 2024

awesome thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When using a scale and html element boundary the scale is not applied to the bounds.
3 participants