Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated first letter on android #1485

Open
steveetm opened this issue Jan 30, 2019 · 2 comments
Open

Duplicated first letter on android #1485

steveetm opened this issue Jan 30, 2019 · 2 comments
Labels

Comments

@steveetm
Copy link

steveetm commented Jan 30, 2019

Duplicated character

On android when you type into a mediumeditor managed input, the first letter is duplicated

Steps to reproduce

  1. Open Chrome on an android device(tested on Samsung and LG phones)
  2. tap into the mediumeditor field
  3. type two letters (e.g. 'a' and 'b')

Expected behavior: Two letters in medium editor ('ab')
Actual behavior: The first letter is duplicated ('aab')

Link to an example: (https://jsfiddle.net/p95ysr2z/)

Versions

  • medium-editor: latest
  • browser: Chrome
  • OS: Android 7+

Cannot reproduce on desktop, no matter if device emulation is turned on. Also works fine on device with physical keyboard attached.

@ulion
Copy link

ulion commented Mar 3, 2019

Above jsfiddle can reproduce on desktop chrome (mac at least) with IME enabled (e.g. Chinese input method). And also reproducable in Safari (mac).

@stefanpejcic
Copy link
Collaborator

Yeah, I get the same issue, it seems to be caused by the double charset.
Simply removing utf-8 charset from the style link works.
https://jsfiddle.net/p95ysr2z/#&togetherjs=mIyVol5A8w

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants