draft-js-mention-plugin
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -8,2 +8,8 @@ # Change Log | ||
## 1.1.1 - 2016-06-05 | ||
### Fixed | ||
- Close mention suggestions when suggestions filtered results are empty [#291](https://github.com/draft-js-plugins/draft-js-plugins/pull/291) [#265](https://github.com/draft-js-plugins/draft-js-plugins/issues/265) | ||
## 1.1.0 - 2016-05-27 | ||
@@ -10,0 +16,0 @@ |
@@ -273,2 +273,9 @@ 'use strict'; | ||
}, { | ||
key: 'componentWillReceiveProps', | ||
value: function componentWillReceiveProps(nextProps) { | ||
if (nextProps.suggestions.size === 0 && this.state.isActive) { | ||
this.closeDropdown(); | ||
} | ||
} | ||
}, { | ||
key: 'render', | ||
@@ -275,0 +282,0 @@ value: function render() { |
{ | ||
"name": "draft-js-mention-plugin", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Mention Plugin for DraftJS", | ||
@@ -5,0 +5,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46005
842