From b694608af4d114ef89e89fbd8fe7a65b479d8c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=86=E7=A6=BB?= Date: Sat, 22 Apr 2017 10:48:21 +0800 Subject: [PATCH] `onKeyDown` bug fix (#5766) + close #5487 --- components/auto-complete/index.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/components/auto-complete/index.tsx b/components/auto-complete/index.tsx index 33546ce81c..ca22b18289 100755 --- a/components/auto-complete/index.tsx +++ b/components/auto-complete/index.tsx @@ -52,7 +52,14 @@ export default class AutoComplete extends React.Component; - return {element}; + return ( + + {element} + + ); } render() {