From dbdd719c51d061dfc327644d4b2ca89a0595b4f1 Mon Sep 17 00:00:00 2001 From: Mike Piccolo Date: Fri, 4 Nov 2016 06:14:19 -0700 Subject: 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 --- webapp/components/suggestion/suggestion_box.jsx | 1 + 1 file changed, 1 insertion(+) (limited to 'webapp/components/suggestion') 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 }; -- cgit v1.2.3-1-g7c22