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

Make empty state a computable property for better multiline support #3283

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

ewpatton
Copy link
Member

@ewpatton ewpatton commented Dec 9, 2024

Change-Id: I9ed27078bae492de15aa7c77848138fef4d36008

General items:

If your code changes how something works on the device (i.e., it affects the companion):

  • I branched from ucr
  • My pull request has ucr as the base

What does this PR accomplish?

The current code in production for iOS has maintains the empty state of the underlying views powering the TextBox component. However, this state isn't correctly maintained under all circumstances which lead to bugs. This PR changes the empty state to be a computable property based on the views themselves to address this.

Fixes #3282

Change-Id: I9ed27078bae492de15aa7c77848138fef4d36008
Copy link
Contributor

@SusanRatiLane SusanRatiLane left a comment

Choose a reason for hiding this comment

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

LGTM

@SusanRatiLane SusanRatiLane merged commit 13f2cc9 into mit-cml:ucr Dec 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

in iOS Text coming from SpeechRecognizer disappears in TextBox when attempting to edit
2 participants