Skip to content

Conversation

@PVince81
Copy link
Member

@PVince81 PVince81 commented Oct 2, 2020

After starting an upload or sharing a file, set the focus back to the message field.

  • focus happens before the upload dialog is closed => not an issue
  • BUG: when inserting emoji, cursor always appears at the beginning => abandoning emoji approach for now until the new rich input field is there

Tests

  • TEST: upload file with the button, see that focus is back on the message field
  • TEST: upload file with drag and drop, see that focus is back on the message field
  • TEST: share a file, see that focus is back on the message field

After starting an upload or sharing a file in the conversation,
set the focus back to the message field.

Signed-off-by: Vincent Petry <[email protected]>
@PVince81 PVince81 force-pushed the bugfix/4242/focus-form-after-upload branch from e70853a to 95847a8 Compare October 9, 2020 14:14
@PVince81 PVince81 changed the title Focus message field after upload or emoji Focus message field after upload or sharing file Oct 9, 2020
@PVince81 PVince81 marked this pull request as ready for review October 9, 2020 14:16
@PVince81 PVince81 merged commit 9fa5fe5 into master Oct 12, 2020
@PVince81 PVince81 deleted the bugfix/4242/focus-form-after-upload branch October 12, 2020 08:19
@PVince81
Copy link
Member Author

@nickvergessen is a backport of this interesting as it's a minor UX addition ?

@nickvergessen
Copy link
Member

/backport to stable20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants