From f48dc8d086922a341e7711f47b6fe87bcb068a04 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 24 Aug 2015 19:34:31 +0800 Subject: [PATCH] fix safari flash bug --- components/menu/index.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/menu/index.jsx b/components/menu/index.jsx index fd88c99dba..eeb9179c1c 100644 --- a/components/menu/index.jsx +++ b/components/menu/index.jsx @@ -20,6 +20,8 @@ const animation = { done(); } } + // Fix safari flash bug + node.style.display = 'none'; velocity(node, transitionName, { duration: 240, complete: complete,