From cbd5a81a22d8fc0d230bac1f4e2c9fc27dec04b6 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 19 Aug 2015 19:19:35 +0800 Subject: [PATCH] do not remove element manully when closing tag --- components/tag/index.jsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/tag/index.jsx b/components/tag/index.jsx index 13a70d2973..aee03ceb61 100644 --- a/components/tag/index.jsx +++ b/components/tag/index.jsx @@ -12,9 +12,6 @@ class AntTag extends React.Component { } close(e) { var dom = React.findDOMNode(this); - addEventListenerOnce(dom, transitionEndEvent, function () { - dom.remove(); - }); dom.style.width = dom.offsetWidth + 'px'; // Magic code // 重复是去除浏览器渲染bug;