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

fixed calculate position #4827

Merged
merged 2 commits into from
Mar 16, 2018
Merged

fixed calculate position #4827

merged 2 commits into from
Mar 16, 2018

Conversation

asturur
Copy link
Member

@asturur asturur commented Mar 16, 2018

@nateevans i updated the code and the test, it makes more sense to me like this.

The whole canvas is scaled by CSS, sending the textarea out of bounds make the DOM jumps, but to be correct 100% the textarea has to be positioned in scale with the CSS. in this way japanese and chinese continue to work properly.

@asturur asturur merged commit 2ce99ee into master Mar 16, 2018
@asturur asturur deleted the simpler-test branch March 16, 2018 03:46
@asturur asturur mentioned this pull request Mar 17, 2018
thiagocunha pushed a commit to thiagocunha/fabric.js that referenced this pull request Nov 18, 2019
* fixed calculate position

* Re-enabled tests.
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.

1 participant