这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix caret position after update #3

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

Merged
merged 1 commit into from
May 12, 2018
Merged

Conversation

elrumordelaluz
Copy link
Contributor

Avoid the cursor to jump to the end of the input
after update the state.

Fix the warining uncontrolled input of type text to be controlled
due to state initialized with content key in the constructor
but then used as value key.

before

before

after

after

Avoid the cursor to jump to the end of the `input`
after update the `state`.

Fix the warining _uncontrolled input of type text to be controlled_
due to `state` initialized with **content** key in the `constructor`
but then used as **value** key.
@rauchg
Copy link
Member

rauchg commented Apr 29, 2018

You can view the deployed app at: https://title-hecddmtgnp.now.sh
(This is an autogenerated message.)

@leo leo self-requested a review May 12, 2018 20:28
@leo leo added the enhancement New feature or request label May 12, 2018
Copy link
Contributor

@leo leo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks VERY good. Thank you!

@leo leo merged commit f2e5328 into vercel:master May 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants