From e4364faa3cab150b82272819fc92086fb4da297e Mon Sep 17 00:00:00 2001 From: zhongwuzw Date: Fri, 1 Feb 2019 03:48:02 -0800 Subject: [PATCH] Fixes alert view block first responder (#23240) Summary: Fixes #23076 , the reason is `blur()` is managed by `UIManager`, `UIManager` maintains all operations and execute them each `batchDidComplete`, which means every time `JS` finish callback native , but `Alert` module would call directly, this mess up the order of method call, for example like below, even `this.$input.blur()` is called before `Alert.alert()`, but in native side, `Alert.alert()` is called before `this.$input.blur()`. ``` this.$input = $input} />