@jetbrains/ring-ui 5.0.111 → 5.0.112
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.
|
@@ -360,6 +360,7 @@ export default class QueryAssist extends Component {
|
|
|
360
360
|
if (this.isComposing) {
|
|
361
361
|
return;
|
|
362
362
|
}
|
|
363
|
+
this.immediateState = props;
|
|
363
364
|
if (this.state.query) {
|
|
364
365
|
let i = 0;
|
|
365
366
|
while (this.state.query[i] === this.immediateState.query[i] && i < this.state.query.length - 1) {
|
|
@@ -377,7 +378,6 @@ export default class QueryAssist extends Component {
|
|
|
377
378
|
r.start += diff;
|
|
378
379
|
});
|
|
379
380
|
}
|
|
380
|
-
this.immediateState = props;
|
|
381
381
|
this.props.onChange(props);
|
|
382
382
|
if (this.props.autoOpen === 'force' || props.query.length > 0) {
|
|
383
383
|
this.requestData?.();
|
|
@@ -225,6 +225,7 @@ class QueryAssist extends Component {
|
|
|
225
225
|
if (this.isComposing) {
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
+
this.immediateState = props;
|
|
228
229
|
if (this.state.query) {
|
|
229
230
|
var _this$state$styleRang;
|
|
230
231
|
let i = 0;
|
|
@@ -242,7 +243,6 @@ class QueryAssist extends Component {
|
|
|
242
243
|
r.start += diff;
|
|
243
244
|
});
|
|
244
245
|
}
|
|
245
|
-
this.immediateState = props;
|
|
246
246
|
this.props.onChange(props);
|
|
247
247
|
if (this.props.autoOpen === 'force' || props.query.length > 0) {
|
|
248
248
|
this.requestData?.();
|