diff --git a/components/form/style/index.less b/components/form/style/index.less index 63733a355a..449d949785 100644 --- a/components/form/style/index.less +++ b/components/form/style/index.less @@ -519,7 +519,7 @@ form { border-color: @error-color; } } - &.@{ant-prefix}-mention-active .@{ant-prefix}-mention-editor, + &.@{ant-prefix}-mention-active:not([disabled]) .@{ant-prefix}-mention-editor, .@{ant-prefix}-mention-editor:not([disabled]):focus { .active(@error-color); } diff --git a/components/mention/demo/async.md b/components/mention/demo/async.md index e092d5cf4e..f15f79be69 100644 --- a/components/mention/demo/async.md +++ b/components/mention/demo/async.md @@ -43,7 +43,7 @@ class AsyncMention extends React.Component { const { suggestions, loading } = this.state; return ( diff --git a/components/mention/demo/basic.md b/components/mention/demo/basic.md index f216ec8167..e1c2777988 100644 --- a/components/mention/demo/basic.md +++ b/components/mention/demo/basic.md @@ -27,7 +27,7 @@ function onSelect(suggestion) { ReactDOM.render( )} diff --git a/components/mention/demo/custom-tag.md b/components/mention/demo/custom-tag.md index 330011997c..9cf8b50124 100644 --- a/components/mention/demo/custom-tag.md +++ b/components/mention/demo/custom-tag.md @@ -55,7 +55,7 @@ class CustomNavMention extends React.Component { return (