Fabric.js: Empty Textbox is broken if page is zoomed-in in Chrome.

Created on 24 Jul 2018  路  10Comments  路  Source: fabricjs/fabric.js

An empty textbox is no longer editable (enters edit mode but can't type characters), if the browser (chrome) is zoomed in.

Version

2.3.0, 2.2.X

Test Case

http://jsfiddle.net/alidadasb/aj9vgynh/

Steps to reproduce

// 1- Zoom in 90%
// 2- delete the text within the textbox
// 3- click outside
// 4- click on empty textbox and try to type
// It is not typing

Expected Behavior

Be able to type

Actual Behavior

It does not type the characters

browser_bug itext

Most helpful comment

what a weird bug.

All 10 comments

what a weird bug.

Any update on this one?

not yet, sorry.

So is a chrome only problem

http://jsfiddle.net/u3wx0vsp/5/

This rule fabricjs out, i reproduced the bug in plain JS. and is not canvas or weird logic related. It just does not work

https://bugs.chromium.org/p/chromium/issues/detail?id=870966

please follow the bug there i'll close this issue.

they proposed a workaround, i m implementing it

Has this been fixed in any of the releases of fabric?
Thanks.

we worked around it in a version, is written in the changelog. Chrome did not fix the bug yet

Hi thanks for the reply, I don't see it in the changelog. Which version has this fix?
Thanks!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bhaskardas9475 picture bhaskardas9475  路  4Comments

Vivek-KT picture Vivek-KT  路  3Comments

mlev picture mlev  路  3Comments

f987002856 picture f987002856  路  3Comments

guettli picture guettli  路  4Comments