You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Update func shows or hides the textarea depending on app state. Sometimes it works well, but sometimes it hangs on View. Replacing textarea.View with some simple string works well, so the state is correct.
Expected behavior
Textarea shows/hides properly based on app state.
p.s.
When I remove SetValue() call everything works fine with empty textarea.
The text was updated successfully, but these errors were encountered:
plutov
changed the title
textarea occasionally hangs on View
textarea: occasionally hangs on View
Jul 24, 2024
plutov
changed the title
textarea: occasionally hangs on View
textarea: sometimes freezes when calling textarea.View()
Jul 24, 2024
plutov
changed the title
textarea: sometimes freezes when calling textarea.View()
textarea: sometimes freezes when calling textarea.SetValue() and then textarea.View()
Jul 24, 2024
My Update func shows or hides the textarea depending on app state. Sometimes it works well, but sometimes it hangs on View. Replacing
textarea.View
with some simple string works well, so the state is correct.Source Code
Model Update: https://github.com/plutov/ultrafocus/blob/main/cli/model.go#L63
textarea.View: https://github.com/plutov/ultrafocus/blob/main/cli/view.go#L40
Expected behavior
Textarea shows/hides properly based on app state.
p.s.
When I remove SetValue() call everything works fine with empty textarea.
The text was updated successfully, but these errors were encountered: