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

Fix / sometimes being cleared from chatbox #5831

Merged
merged 1 commit into from
Dec 2, 2022

Conversation

netpro2k
Copy link
Contributor

@netpro2k netpro2k commented Dec 2, 2022

Sometimes when using / to open chat the initial / was later cleared, making it difficult to type slash commands. This was due to the value of a controlled input being set in an effect. Since the only thing we were using this effect for anyway was to autoFocus the chat box I simplified this to a property, and have a separate property for specifying initial text.

Copy link
Contributor

@johnshaughnessy johnshaughnessy left a comment

Choose a reason for hiding this comment

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

Woohoo! Quality of Life instantly improved!

@johnshaughnessy johnshaughnessy merged commit 9da62c7 into master Dec 2, 2022
@johnshaughnessy johnshaughnessy deleted the fix-slash-commands branch December 2, 2022 00:49
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.

2 participants