react-vimjs
react-vimjs copied to clipboard
Sometimes broken on Chrome on OS X
It seems that this occurs only in Chrome on OS X. Safari was OK and Chrome on Linux was OK.
I analyzed this bug a bit and found that vimjs.char_width
was wrong.
When loading vim.js, the width was 11
in my browser but it should be 7
. When I checked it after loading page, the width was correctly 7
. I think this is a problem of asynchronous loading.
Note that this doesn't occur on react-vimjs demo but occurs in my local simple page.