From bdaa8061cd3efd4c1f752738ffa76fd1fcbc481a Mon Sep 17 00:00:00 2001 From: Ramanpreet Nara Date: Tue, 27 Nov 2018 14:00:55 -0800 Subject: [PATCH] Revert D13105396 Summary: D13105396 broke a few things, so I'm reverting it. See: https://fburl.com/toehyir8 Reviewed By: sahrens, mmmulani Differential Revision: D13220491 fbshipit-source-id: 35594099eea7f40d2fb948ae2010db4babb7093d --- Libraries/Components/TextInput/TextInput.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index cd71083cc08ebf..0c49697570cc29 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -1198,7 +1198,10 @@ const TextInput = createReactClass({ }, _onBlur: function(event: Event) { + // This is a hack to fix https://fburl.com/toehyir8 + // @todo(rsnara) Figure out why this is necessary. this.blur(); + if (this.props.onBlur) { this.props.onBlur(event); }