@douyinfe/semi-foundation 2.24.2 → 2.24.3
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.
|
@@ -1305,9 +1305,8 @@ class SelectFoundation extends _foundation.default {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
|
|
1307
1307
|
handleTriggerFocus(e) {
|
|
1308
|
-
this.bindKeyBoardEvent();
|
|
1309
|
-
|
|
1310
|
-
this._adapter.updateFocusState(true);
|
|
1308
|
+
this.bindKeyBoardEvent(); // close the tag in multiple select did not trigger select focus, but trigger TriggerFocus, so not need to updateFocusState in this function
|
|
1309
|
+
// this._adapter.updateFocusState(true);
|
|
1311
1310
|
|
|
1312
1311
|
this._adapter.setIsFocusInContainer(false);
|
|
1313
1312
|
}
|
|
@@ -1283,9 +1283,8 @@ export default class SelectFoundation extends BaseFoundation {
|
|
|
1283
1283
|
}
|
|
1284
1284
|
|
|
1285
1285
|
handleTriggerFocus(e) {
|
|
1286
|
-
this.bindKeyBoardEvent();
|
|
1287
|
-
|
|
1288
|
-
this._adapter.updateFocusState(true);
|
|
1286
|
+
this.bindKeyBoardEvent(); // close the tag in multiple select did not trigger select focus, but trigger TriggerFocus, so not need to updateFocusState in this function
|
|
1287
|
+
// this._adapter.updateFocusState(true);
|
|
1289
1288
|
|
|
1290
1289
|
this._adapter.setIsFocusInContainer(false);
|
|
1291
1290
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-foundation",
|
|
3
|
-
"version": "2.24.
|
|
3
|
+
"version": "2.24.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build:lib": "node ./scripts/compileLib.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"*.scss",
|
|
24
24
|
"*.css"
|
|
25
25
|
],
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "989e106471d68c7eaf1b26abb64bbc1a5f383f9a",
|
|
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
|
@@ -1036,7 +1036,8 @@ export default class SelectFoundation extends BaseFoundation<SelectAdapter> {
|
|
|
1036
1036
|
|
|
1037
1037
|
handleTriggerFocus(e) {
|
|
1038
1038
|
this.bindKeyBoardEvent();
|
|
1039
|
-
this
|
|
1039
|
+
// close the tag in multiple select did not trigger select focus, but trigger TriggerFocus, so not need to updateFocusState in this function
|
|
1040
|
+
// this._adapter.updateFocusState(true);
|
|
1040
1041
|
this._adapter.setIsFocusInContainer(false);
|
|
1041
1042
|
}
|
|
1042
1043
|
|