Skip to content

Conversation

@JsFlo
Copy link
Contributor

@JsFlo JsFlo commented Dec 10, 2021

Fixes index out of bounds crash when attempting to add characters or moving the cursor to the ends of the string being edited.

  • uses setOutput to cause the parent workflow to update the string when adding characters
  • coerces cursor position within the 0..text.length

Fixes issue: #516

…moving the cursor to the ends of the string being edited.
@JsFlo JsFlo requested review from a team and zach-klippenstein as code owners December 10, 2021 04:05
@CLAassistant
Copy link

CLAassistant commented Dec 10, 2021

CLA assistant check
All committers have signed the CLA.

@rjrjr
Copy link
Collaborator

rjrjr commented Dec 10, 2021

Thank you!

Copy link
Contributor

@steve-the-edwards steve-the-edwards left a comment

Choose a reason for hiding this comment

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

Thanks!

@rjrjr rjrjr merged commit 821c7b6 into square:main Dec 10, 2021
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.

4 participants