@yaireo/tagify
Advanced tools
Comparing version 4.31.0 to 4.31.1
/* | ||
Tagify v4.31.0 - tags input component | ||
Tagify v4.31.1 - tags input component | ||
By: Yair Even-Or <vsync.design@gmail.com> | ||
@@ -4,0 +4,0 @@ https://github.com/yairEO/tagify |
{ | ||
"name": "@yaireo/tagify", | ||
"version": "4.31.0", | ||
"version": "4.31.1", | ||
"homepage": "https://github.com/yairEO/tagify", | ||
@@ -5,0 +5,0 @@ "description": "lightweight, efficient Tags input component in Vanilla JS / React / Angular [super customizable, tiny size & top performance]", |
@@ -212,3 +212,3 @@ import { sameStr, isObject, minify, getNodeHeight, getCaretGlobalPosition } from './helpers' | ||
if( !_s.dropdown.enabled ) return this; | ||
if( _s.dropdown.enabled === false ) return this; | ||
@@ -215,0 +215,0 @@ this.DOM.scope.setAttribute("aria-expanded", true) |
@@ -224,3 +224,4 @@ import { decode, extend, getfirstTextNode, isChromeAndroidBrowser, isNodeTag, isWithinNodeTag, injectAtCaret, getSetTagData, fixCaretBetweenTags, placeCaretAfterNode } from './helpers' | ||
var dropdownCanBeShown = _s.dropdown.enabled === 0 && !this.state.dropdown.visible; | ||
var dropdownCanBeShown = _s.dropdown.enabled === 0 && !this.state.dropdown.visible, | ||
condition2 = !targetIsTagNode || _s.mode === 'select' | ||
@@ -230,3 +231,3 @@ this.toggleFocusClass(true); | ||
// e.target.classList.remove('placeholder'); | ||
if( dropdownCanBeShown && (!targetIsTagNode || _s.mode === 'select') ){ // && _s.mode != "select" | ||
if( dropdownCanBeShown && condition2 ){ // && _s.mode != "select" | ||
this.dropdown.show(this.value.length ? '' : undefined) | ||
@@ -233,0 +234,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
5613
4308797