jquery-mentions icon indicating copy to clipboard operation
jquery-mentions copied to clipboard

highlight in wrong positions

Open leizard opened this issue 8 years ago • 7 comments

I use your example, but this happens:

screenshot from 2015-08-28 14 19 32

can you help me ?

leizard avatar Aug 28 '15 07:08 leizard

What browser and version you use?

ivirabyan avatar Aug 28 '15 09:08 ivirabyan

I use Chrome the latest version on Ubuntu 14.04

leizard avatar Aug 28 '15 11:08 leizard

I have exactly the same environment, sounds really strange. Is bug present when you just open example page, before you modify textarea?

ivirabyan avatar Aug 28 '15 11:08 ivirabyan

I use it in my Meteor project, in Template.onRendered method, don't know if there s something diffirent

leizard avatar Aug 29 '15 04:08 leizard

I've seen this happen (not as bad as the screenshot posted above though). Usually it has been slightly off. I haven't really tried to debug it, but will try soon.

amerikan avatar Dec 15 '15 21:12 amerikan

This kind of bug can happen if highlighter font is not equal to the one used in the textarea. This should not happen normally

ivirabyan avatar Dec 17 '15 15:12 ivirabyan

@leizard can you make a standalone page demonstrating the bug?

ivirabyan avatar Dec 28 '15 14:12 ivirabyan