@codemirror/autocomplete 6.10.1 → 6.10.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.
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1067,7 +1067,7 @@ const completionPlugin = view.ViewPlugin.fromClass(class {
|
|
|
1067
1067
|
if (this.debounceUpdate > -1)
|
|
1068
1068
|
clearTimeout(this.debounceUpdate);
|
|
1069
1069
|
this.debounceUpdate = cState.active.some(a => a.state == 1 /* State.Pending */ && !this.running.some(q => q.active.source == a.source))
|
|
1070
|
-
? setTimeout(() => this.startUpdate(),
|
|
1070
|
+
? setTimeout(() => this.startUpdate(), 50) : -1;
|
|
1071
1071
|
if (this.composing != 0 /* CompositionState.None */)
|
|
1072
1072
|
for (let tr of update.transactions) {
|
|
1073
1073
|
if (getUserEvent(tr) == "input")
|
package/dist/index.js
CHANGED
|
@@ -1065,7 +1065,7 @@ const completionPlugin = /*@__PURE__*/ViewPlugin.fromClass(class {
|
|
|
1065
1065
|
if (this.debounceUpdate > -1)
|
|
1066
1066
|
clearTimeout(this.debounceUpdate);
|
|
1067
1067
|
this.debounceUpdate = cState.active.some(a => a.state == 1 /* State.Pending */ && !this.running.some(q => q.active.source == a.source))
|
|
1068
|
-
? setTimeout(() => this.startUpdate(),
|
|
1068
|
+
? setTimeout(() => this.startUpdate(), 50) : -1;
|
|
1069
1069
|
if (this.composing != 0 /* CompositionState.None */)
|
|
1070
1070
|
for (let tr of update.transactions) {
|
|
1071
1071
|
if (getUserEvent(tr) == "input")
|