cleave.js icon indicating copy to clipboard operation
cleave.js copied to clipboard

Duplicate numbers are entered when use Microsoft Pinyin input method

Open kingller opened this issue 4 years ago • 4 comments

Hi, When I use it with prefix ( such as $ 20) in the input, then input 1 with Microsoft Pinyin input method in Chinese mode, $ 11 appears in the input box

Browser: Chrome

kingller avatar May 19 '21 06:05 kingller

It is caused by the oninput being triggered twice

kingller avatar Jun 25 '21 03:06 kingller

Hi, Pull request are submitted, can you merge it please? https://github.com/nosir/cleave.js/pull/663

kingller avatar Jun 28 '21 09:06 kingller

In the latest Windows 10, I was only able to reproduce this behavior after reverting to the previous version of the Microsoft Pinyin IME (Language Settings -> Chinese (Simplified, China) options -> Microsoft Pinyin options -> General -> Compatibility -> Use previous version of Microsoft Pinyin

I believe this issue may have been fixed in Windows 10 as part of the Nov 2020 update:

https://support.microsoft.com/en-us/topic/kb4564002-you-might-have-issues-on-windows-10-version-20h2-and-windows-10-version-2004-when-using-some-microsoft-imes-63696506-47d2-9997-0b72-41a68e328692

https://support.microsoft.com/en-us/topic/november-30-2020-kb4586853-os-builds-19041-662-and-19042-662-preview-8fb07fb8-a7dd-ea62-d65e-3305da09f92e

echenley avatar Mar 14 '22 21:03 echenley

OK. Thanks.

kingller avatar Mar 15 '22 05:03 kingller