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

Fix focus shown in ant-design #10663 #106

Merged
merged 2 commits into from
Jun 13, 2018

Conversation

zhujinxuan
Copy link
Contributor

  1. Fix input-number: focused style could not be removed after clicking up/down button and then outside ant-design/ant-design#10663; The problem is setSelection does not automatically focus the input element
  2. Add eslint, let editor can fix styles and detect errors automatically.
  3. Fix the cursor problem in increase; for example 9<cursor/> after increase will become 1<cursor/>0; In this PR, we will let setSelection happens when and only when the selection is expanded

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 92.377% when pulling 0c3ddcb on zhujinxuan:fix-focus into c094dd8 on react-component:master.

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

Successfully merging this pull request may close these issues.

input-number: focused style could not be removed after clicking up/down button and then outside
3 participants