@douyinfe/semi-foundation 2.45.3 → 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
- // In order to handle the problem of losing onClick binding when clicking on the padding area, the onBlur event is triggered first to cause the react view to be updated
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
- // In order to handle the problem of losing onClick binding when clicking on the padding area, the onBlur event is triggered first to cause the react view to be updated
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;
@@ -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
- // In order to handle the problem of losing onClick binding when clicking on the padding area, the onBlur event is triggered first to cause the react view to be updated
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;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-foundation",
3
- "version": "2.45.3",
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.45.3",
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": "53c1fbfd1cc2dce6195a49a2797d3d05354d3d87",
26
+ "gitHead": "0de820bf1a275d5c759091247326bbd7fc0d873c",
27
27
  "devDependencies": {
28
28
  "@babel/plugin-transform-runtime": "^7.15.8",
29
29
  "@babel/preset-env": "^7.15.8",