Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Hide autocompleter suggestions on message submit #1207

Merged
merged 1 commit into from
Nov 17, 2016

Conversation

copperwall
Copy link
Contributor

This adds a call to MessageComposer.hideSuggestions() in the
onMessageSubmit function so that the autocompleter is always closed after a
message is sent.

To Reproduce

On master, create a message like ":D" and send the message. This will trigger
the autocompleter to show up and suggest emojis, but after the message is sent,
the autocompleter will still be visible.

On this branch, sending the same message will close the autocompleter after the
message is sent.

Fix #1203

This adds a call to `MessageComposer.hideSuggestions()` in the
`onMessageSubmit` function so that the autocompleter is always closed after a
message is sent.

To Reproduce
------------------

On master, create a message like ":D" and send the message. This will trigger
the autocompleter to show up and suggest emojis, but after the message is sent,
the autocompleter will still be visible.

On this branch, sending the same message will close the autocompleter after the
message is sent.

Fix zhukov#1203
@stek29
Copy link
Collaborator

stek29 commented Aug 14, 2016

I need this :)

@zhukov
Copy link
Owner

zhukov commented Nov 17, 2016

Thanks for the PR!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pressing enter to send message after ASCII emoticon does not close pop-up
3 participants