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

Can't input chinese - the cursor move to the end automatically #2035

Closed
hughjfchen opened this issue Sep 1, 2017 · 3 comments
Closed

Can't input chinese - the cursor move to the end automatically #2035

hughjfchen opened this issue Sep 1, 2017 · 3 comments

Comments

@hughjfchen
Copy link

Steps

1.create a form with a input
2.turn on chinese input
3.try to type some chinese character
4.the input only show the ascii character instead of the chinese

Expected Result

the input should get the chinese character

Actual Result

The input only show the ascii character

Version

semantic-ui-react: 0.72.0
mac osx: 10.12.6
chrome: 60.0.3112.113

@levithomason
Copy link
Member

The default <Input /> renders a plain HTML <input />. If this does not work it is likely something unrelated to SUIR. Does this work for you with a default React <input /> element?

@hughjfchen
Copy link
Author

I did some more test and found that the input component has following problem even input english:
I input some english character, move the cursor to the beginning, try to input some characters, however, the cursor will move to the end automatically after I input ONE chacracter so the rest characters will be input into the end.

@hughjfchen hughjfchen changed the title Can't input chinese Can't input chinese - the cursor move to the end automatically Sep 1, 2017
@levithomason
Copy link
Member

Please fork http://codepen.io/levithomason/pen/ZpBaJX and demonstrate the problem. Will reopen if we can show the issue. Right now, I believe the docs and tests are all working correctly.

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

No branches or pull requests

2 participants