@antscorp/antsomi-ui 1.3.7-beta.26 → 1.3.7-beta.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -852,7 +852,7 @@ const TagifyInput = forwardRef((props, ref) => {
852
852
  onContentEditable(!readonlyText);
853
853
  }, [readonlyText, onContentEditable]);
854
854
  useEffect(() => {
855
- if (tagifyRef.current && tagLength && _.isFunction(onTagRemove)) {
855
+ if (tagifyRef.current && typeof tagLength === 'number' && _.isFunction(onTagRemove)) {
856
856
  // Because the remove tag event is not triggered when the tag is removed with Backspace or drag selection tags
857
857
  // we need to listen to the input element to detect when a tag is removed
858
858
  let mutationQueue = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.7-beta.26",
3
+ "version": "1.3.7-beta.27",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",