@douyinfe/semi-ui 2.21.0-beta.0 → 2.21.0-beta.1
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/umd/semi-ui.js
CHANGED
|
@@ -27448,8 +27448,10 @@ class foundation_AutoCompleteFoundation extends foundation {
|
|
|
27448
27448
|
}
|
|
27449
27449
|
|
|
27450
27450
|
handleBlur(e) {
|
|
27451
|
-
//
|
|
27451
|
+
// https://reactjs.org/docs/legacy-event-pooling.html
|
|
27452
|
+
e.persist(); // 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
|
|
27452
27453
|
// internal-issues:1231
|
|
27454
|
+
|
|
27453
27455
|
setTimeout(() => {
|
|
27454
27456
|
this._adapter.notifyBlur(e);
|
|
27455
27457
|
|