react-vimjs icon indicating copy to clipboard operation
react-vimjs copied to clipboard

Sometimes broken on Chrome on OS X

Open rhysd opened this issue 9 years ago • 0 comments

2015-10-11 18 32 17

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.

rhysd avatar Oct 11 '15 09:10 rhysd