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

GH-262 - fix issue gui unresponsive when adding a todo #265

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pvev
Copy link

@pvev pvev commented Nov 10, 2024

Fixes: #262

Before:

Screen.Recording.2024-11-10.at.19.01.43.mov

After:

Screen.Recording.2024-11-10.at.19.00.08.mov

@pvev pvev requested a review from mickmister as a code owner November 10, 2024 18:03
};
}

static getDerivedStateFromProps(props, state) {
if (state.isTyping) {
Copy link
Author

Choose a reason for hiding this comment

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

every type stroke rerenders the component and causes messages to get the props value. This change tracks when the user is typing and will avoid this situation from happening.

@hanzei
Copy link
Contributor

hanzei commented Nov 12, 2024

@Kshitij-Katiyar Can you please take a look?

@Kshitij-Katiyar
Copy link
Contributor

@Kshitij-Katiyar Can you please take a look?

@hanzei Do we need to review this PR or something else?

@hanzei hanzei added the 2: Dev Review Requires review by a core committer label Dec 17, 2024
@hanzei
Copy link
Contributor

hanzei commented Dec 17, 2024

Yes, please review the PR

@Kshitij-Katiyar
Copy link
Contributor

Yes, please review the PR

@hanzei Looks good to me

@Kshitij-Katiyar Kshitij-Katiyar force-pushed the fix-issue-262-gui-unresponsive branch from 8f8aa57 to 8892ad4 Compare December 18, 2024 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Dev Review Requires review by a core committer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GUI does is unresponsive
3 participants