@douyinfe/semi-foundation 2.46.0-beta.0 → 2.46.0
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.
|
@@ -424,12 +424,7 @@ class AutoCompleteFoundation<P = Record<string, any>, S = Record<string, any>> e
|
|
|
424
424
|
// only need persist on react adapter
|
|
425
425
|
// https://reactjs.org/docs/legacy-event-pooling.html
|
|
426
426
|
this._persistEvent(e);
|
|
427
|
-
|
|
428
|
-
// internal-issues:1231
|
|
429
|
-
setTimeout(() => {
|
|
430
|
-
this._adapter.notifyBlur(e);
|
|
431
|
-
// this.closeDropdown();
|
|
432
|
-
}, 100);
|
|
427
|
+
this._adapter.notifyBlur(e);
|
|
433
428
|
}
|
|
434
429
|
}
|
|
435
430
|
|
|
@@ -394,12 +394,7 @@ class AutoCompleteFoundation extends _foundation.default {
|
|
|
394
394
|
// only need persist on react adapter
|
|
395
395
|
// https://reactjs.org/docs/legacy-event-pooling.html
|
|
396
396
|
this._persistEvent(e);
|
|
397
|
-
|
|
398
|
-
// internal-issues:1231
|
|
399
|
-
setTimeout(() => {
|
|
400
|
-
this._adapter.notifyBlur(e);
|
|
401
|
-
// this.closeDropdown();
|
|
402
|
-
}, 100);
|
|
397
|
+
this._adapter.notifyBlur(e);
|
|
403
398
|
}
|
|
404
399
|
}
|
|
405
400
|
var _default = AutoCompleteFoundation;
|
|
@@ -941,6 +941,7 @@ class SelectFoundation extends _foundation.default {
|
|
|
941
941
|
delete newOption._show;
|
|
942
942
|
delete newOption._selected;
|
|
943
943
|
delete newOption._scrollIndex;
|
|
944
|
+
delete newOption._keyInJsx;
|
|
944
945
|
if ('_keyInOptionList' in newOption) {
|
|
945
946
|
newOption.key = newOption._keyInOptionList;
|
|
946
947
|
delete newOption._keyInOptionList;
|
|
@@ -387,12 +387,7 @@ class AutoCompleteFoundation extends BaseFoundation {
|
|
|
387
387
|
// only need persist on react adapter
|
|
388
388
|
// https://reactjs.org/docs/legacy-event-pooling.html
|
|
389
389
|
this._persistEvent(e);
|
|
390
|
-
|
|
391
|
-
// internal-issues:1231
|
|
392
|
-
setTimeout(() => {
|
|
393
|
-
this._adapter.notifyBlur(e);
|
|
394
|
-
// this.closeDropdown();
|
|
395
|
-
}, 100);
|
|
390
|
+
this._adapter.notifyBlur(e);
|
|
396
391
|
}
|
|
397
392
|
}
|
|
398
393
|
export default AutoCompleteFoundation;
|
|
@@ -932,6 +932,7 @@ export default class SelectFoundation extends BaseFoundation {
|
|
|
932
932
|
delete newOption._show;
|
|
933
933
|
delete newOption._selected;
|
|
934
934
|
delete newOption._scrollIndex;
|
|
935
|
+
delete newOption._keyInJsx;
|
|
935
936
|
if ('_keyInOptionList' in newOption) {
|
|
936
937
|
newOption.key = newOption._keyInOptionList;
|
|
937
938
|
delete newOption._keyInOptionList;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-foundation",
|
|
3
|
-
"version": "2.46.0
|
|
3
|
+
"version": "2.46.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build:lib": "node ./scripts/compileLib.js",
|
|
7
7
|
"prepublishOnly": "npm run build:lib"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@douyinfe/semi-animation": "2.46.0
|
|
10
|
+
"@douyinfe/semi-animation": "2.46.0",
|
|
11
11
|
"async-validator": "^3.5.0",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"date-fns": "^2.29.3",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"*.scss",
|
|
24
24
|
"*.css"
|
|
25
25
|
],
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "0de820bf1a275d5c759091247326bbd7fc0d873c",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
29
29
|
"@babel/preset-env": "^7.15.8",
|
package/select/foundation.ts
CHANGED
|
@@ -939,6 +939,8 @@ export default class SelectFoundation extends BaseFoundation<SelectAdapter> {
|
|
|
939
939
|
delete newOption._show;
|
|
940
940
|
delete newOption._selected;
|
|
941
941
|
delete newOption._scrollIndex;
|
|
942
|
+
delete newOption._keyInJsx;
|
|
943
|
+
|
|
942
944
|
if ('_keyInOptionList' in newOption) {
|
|
943
945
|
newOption.key = newOption._keyInOptionList;
|
|
944
946
|
delete newOption._keyInOptionList;
|