fix: event.target of Button's click event, close: #7034

This commit is contained in:
Benjy Cui 2017-08-16 17:43:56 +08:00
parent bee3c43e7a
commit 1f652bfe4c

View File

@ -15,6 +15,13 @@
.btn;
.btn-default;
// Make sure that the target of Button's click event always be `button`
// Ref: https://github.com/ant-design/ant-design/issues/7034
> i,
> span {
pointer-events: none;
}
&-primary {
.btn-primary;