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: element jumping when resizing on zoomed frame #5103

Merged
merged 2 commits into from May 11, 2023

Conversation

PaulRill00
Copy link
Contributor

When resizing elements no a zoomed frame Editor#setZoom(50) the element will jump around.
This fix will ignore the zoomed context and frame offset, so that the position is correct.

I tested this for absolute both normal and absolute dragMode.

Copy link
Member

@artf artf left a comment

Choose a reason for hiding this comment

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

LGTM 👍
Thank you @PaulRill00

@artf artf merged commit b4f1756 into GrapesJS:dev May 11, 2023
2 checks passed
@PaulRill00 PaulRill00 deleted the fix/resize-after-zoom branch May 11, 2023 11:31
pety-dc pushed a commit to d-code-ltd/grapesjs that referenced this pull request Aug 14, 2023
Co-authored-by: Artur Arseniev <artur.catch@hotmail.it>
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.

None yet

2 participants