jsl-ui 9.19.0 → 9.19.2

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.
@@ -124,15 +124,16 @@ var autoComplete = (function () {
124
124
  //var over_sb;
125
125
  //try { over_sb = document.querySelector('.autocomplete-suggestions:hover'); } catch (e) { over_sb = 0; }
126
126
  //if (!over_sb) {
127
- if (that.last_val !== that.value) {
128
- options.onChange(that.value);
129
- }
130
127
  that.last_val = that.value;
131
128
  that.sc.style.display = 'none';
132
129
  //setTimeout(function() { that.sc.style.display = 'none'; }, 350); // hide suggestions on fast input
133
130
  //} else if (that !== document.activeElement) { setTimeout(function() { that.focus(); }, 200); }
134
131
  };
135
132
  addEvent(that, 'blur', that.blurHandler);
133
+ that.inputHandler = function () {
134
+ options.onChange(that.value);
135
+ };
136
+ addEvent(that, 'input', that.inputHandler);
136
137
  suggest = function (data) {
137
138
  var val = that.value;
138
139
  that.cache[val] = data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsl-ui",
3
- "version": "9.19.0",
3
+ "version": "9.19.2",
4
4
  "description": "javascript UI library",
5
5
  "main": "lib/index.js",
6
6
  "files": [