vue-highlightable-input icon indicating copy to clipboard operation
vue-highlightable-input copied to clipboard

Improve support for non-English languages

Open SyedWasiHaider opened this issue 6 years ago • 7 comments

SyedWasiHaider avatar Apr 14 '18 07:04 SyedWasiHaider

@SyedWasiHaider I have accent problem only on Mac in PT/BR.

mateusalexandre avatar Jan 24 '19 18:01 mateusalexandre

If you can show me how to reproduce, I can try and have a look. I'm also open to PRs.

SyedWasiHaider avatar Jan 29 '19 06:01 SyedWasiHaider

@SyedWasiHaider When I use accents using the Mac, the accents are duplicated. First display the accents and then the letters with the accents

Example:

´á

´é

´Éntree

R´ésum´é

D´éj`à vu

Comp^ôte

mateusalexandre avatar Jan 29 '19 19:01 mateusalexandre

Interesting I'm on windows and I'm using the ALT+0XXX shortcuts for the letters and it seems to run fine in Chrome.

In this case I think what is happening is that the library is too fast in trying to process the text because you're using the accent then character type shortcut.

SyedWasiHaider avatar Feb 06 '19 06:02 SyedWasiHaider

Can you try increasing the highlightDelay setting and see if that fixes your problem?

SyedWasiHaider avatar Feb 06 '19 06:02 SyedWasiHaider

I just tried again on Windows with the "US - International keyboard". The interesting thing is if I type: ' and then say a it doesn't actually input the first ' into the textbox so I don't run into the same issue as you. This feels like a mac-specific issue.

SyedWasiHaider avatar Feb 06 '19 07:02 SyedWasiHaider

Hi @SyedWasiHaider , please see my gif below: highlights

Poor experience while inputing Chinese characters, can you please help to improve a little bit. Thanks.

hjfrun avatar Feb 11 '20 02:02 hjfrun