summaryrefslogtreecommitdiffstats
path: root/webapp/components/suggestion
diff options
context:
space:
mode:
authorMike Piccolo <mfpiccolo@gmail.com>2016-11-04 06:14:19 -0700
committerHarrison Healey <harrisonmhealey@gmail.com>2016-11-04 09:14:19 -0400
commitdbdd719c51d061dfc327644d4b2ca89a0595b4f1 (patch)
tree1ddeffb36b94b5719e29a9595994423d78ab1791 /webapp/components/suggestion
parentf79f607a47e4b833b9eadec44b9c94b5f21b66ef (diff)
downloadchat-dbdd719c51d061dfc327644d4b2ca89a0595b4f1.tar.gz
chat-dbdd719c51d061dfc327644d4b2ca89a0595b4f1.tar.bz2
chat-dbdd719c51d061dfc327644d4b2ca89a0595b4f1.zip
PLT-4376 iOS and Android: Keep the keyboard open after sending a message (#4377)
* Force keyboard to retain focus on submitting post on mobile * Fix lint error * Allow keyboard to stay closed if the keyboard was closed earlier before submitting * Increase delay time and add to comment * Remove pass through props on suggestion box
Diffstat (limited to 'webapp/components/suggestion')
-rw-r--r--webapp/components/suggestion/suggestion_box.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/components/suggestion/suggestion_box.jsx b/webapp/components/suggestion/suggestion_box.jsx
index 62148c454..590fdae04 100644
--- a/webapp/components/suggestion/suggestion_box.jsx
+++ b/webapp/components/suggestion/suggestion_box.jsx
@@ -227,5 +227,6 @@ SuggestionBox.propTypes = {
// explicitly name any input event handlers we override and need to manually call
onChange: React.PropTypes.func,
+ onBlur: React.PropTypes.func,
onKeyDown: React.PropTypes.func
};