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

Message text field is not focused after opening any chat channel #2685

Closed
Marc-Spector opened this issue May 1, 2022 · 1 comment · Fixed by #2702
Closed

Message text field is not focused after opening any chat channel #2685

Marc-Spector opened this issue May 1, 2022 · 1 comment · Fixed by #2702
Labels

Comments

@Marc-Spector
Copy link
Collaborator

To Reproduce

  1. Open any public or private chat channel.

Log or error message
No error messages in the log file.

Expected behavior
Message text field should be focused

Screenshots
No need

OS
Windows

Client Version: 2022.4.1

@Marc-Spector
Copy link
Collaborator Author

There is a calling method, but the focus does not work.

/**
* Subclasses may override in order to perform actions when the view is being displayed.
*/
protected void onDisplay() {
JavaFxUtil.runLater(() -> messageTextField().requestFocus());
}

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 a pull request may close this issue.

1 participant