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 calcOffset when text enter editing #4649

Merged
merged 1 commit into from Jan 26, 2018
Merged

fix calcOffset when text enter editing #4649

merged 1 commit into from Jan 26, 2018

Conversation

asturur
Copy link
Member

@asturur asturur commented Jan 26, 2018

When Text enter editing, it needs to position the hiddenTextarea to match the text position.
To do so it uses canvas._offset point.

If canvas._offset point has never been calculated, the position is wrong.

@asturur asturur merged commit 2f19c8c into master Jan 26, 2018
@asturur asturur deleted the fix-hiddenTextarea branch February 4, 2018 22:45
thiagocunha pushed a commit to thiagocunha/fabric.js that referenced this pull request Nov 18, 2019
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

1 participant