From 45dee9e5042e74a30c882a3dfc886b6df2504bdd Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 1 Jun 2017 12:03:36 +0800 Subject: [PATCH] animating node should not be accessible, close #6314 --- components/style/mixins/motion.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/style/mixins/motion.less b/components/style/mixins/motion.less index 2c49007d3..6cd15567d 100644 --- a/components/style/mixins/motion.less +++ b/components/style/mixins/motion.less @@ -24,9 +24,11 @@ .@{className}-appear.@{className}-appear-active { animation-name: ~"@{keyframeName}In"; animation-play-state: running; + pointer-events: none; } .@{className}-leave.@{className}-leave-active { animation-name: ~"@{keyframeName}Out"; animation-play-state: running; + pointer-events: none; } }