@fluentui/react-charting 4.23.19 → 4.23.20
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/dist/react-charting.js
CHANGED
|
@@ -29033,7 +29033,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29033
29033
|
// Do not modify this file; it is generated as part of publish.
|
|
29034
29034
|
// The checked in version is a placeholder only and will not be updated.
|
|
29035
29035
|
|
|
29036
|
-
Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('@uifabric/charting', '4.23.
|
|
29036
|
+
Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('@uifabric/charting', '4.23.19');
|
|
29037
29037
|
|
|
29038
29038
|
|
|
29039
29039
|
/***/ }),
|
|
@@ -37370,7 +37370,9 @@ var Autofill = /** @class */ (function (_super) {
|
|
|
37370
37370
|
if (preventValueSelection) {
|
|
37371
37371
|
return;
|
|
37372
37372
|
}
|
|
37373
|
-
|
|
37373
|
+
var isFocused = this._inputElement.current && this._inputElement.current === document.activeElement;
|
|
37374
|
+
if (isFocused &&
|
|
37375
|
+
this._autoFillEnabled &&
|
|
37374
37376
|
value &&
|
|
37375
37377
|
suggestedDisplayValue &&
|
|
37376
37378
|
this._doesTextStartWith(suggestedDisplayValue, value)) {
|
|
@@ -37378,7 +37380,7 @@ var Autofill = /** @class */ (function (_super) {
|
|
|
37378
37380
|
if (shouldSelectFullInputValueInComponentDidUpdate) {
|
|
37379
37381
|
shouldSelectFullRange = shouldSelectFullInputValueInComponentDidUpdate();
|
|
37380
37382
|
}
|
|
37381
|
-
if (shouldSelectFullRange
|
|
37383
|
+
if (shouldSelectFullRange) {
|
|
37382
37384
|
this._inputElement.current.setSelectionRange(0, suggestedDisplayValue.length, SELECTION_BACKWARD);
|
|
37383
37385
|
}
|
|
37384
37386
|
else {
|
|
@@ -37386,7 +37388,7 @@ var Autofill = /** @class */ (function (_super) {
|
|
|
37386
37388
|
value[differenceIndex].toLocaleLowerCase() === suggestedDisplayValue[differenceIndex].toLocaleLowerCase()) {
|
|
37387
37389
|
differenceIndex++;
|
|
37388
37390
|
}
|
|
37389
|
-
if (differenceIndex > 0
|
|
37391
|
+
if (differenceIndex > 0) {
|
|
37390
37392
|
this._inputElement.current.setSelectionRange(differenceIndex, suggestedDisplayValue.length, SELECTION_BACKWARD);
|
|
37391
37393
|
}
|
|
37392
37394
|
}
|