Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@alanlong9278
Copy link
Contributor

@alanlong9278 alanlong9278 commented Jan 28, 2021

Description

  • Bugfix: Text input jumps to last character after adding characters as first character under runtime section.

  • Reason: The value of textField is the props value, so the field component will be refresh after updating the props value.

  • Solution:Set value as state value.

Task Item

closes #5437

Screenshots

  1. Wrong behavior
    field

  2. Expected behavior
    correctfield

@benbrown
Copy link
Contributor

@tomlm this is what was happening to you the other day!! glad to see it fixed.

@coveralls
Copy link

coveralls commented Feb 2, 2021

Coverage Status

Coverage decreased (-0.03%) to 55.048% when pulling ac40640 on alanlong9278:julong/text-err-runtime-section into 30d3ec2 on microsoft:main.

@luhan2017 luhan2017 merged commit 542c4e8 into microsoft:main Feb 8, 2021
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* fix cursor err

* refactor code style with other property

* lint

* use type

Co-authored-by: Dong Lei <[email protected]>
Co-authored-by: Lu Han <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Text input jumps to last character after adding characters under runtime section

7 participants