Преглед изворни кода

Merge pull request #1213 from DouyinFE/fix/Cascader

Fixed the flickering problem when the pop-up window closes after searching in Cascader
代强 пре 3 година
родитељ
комит
82df3764a5
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      packages/semi-foundation/cascader/foundation.ts

+ 0 - 1
packages/semi-foundation/cascader/foundation.ts

@@ -532,7 +532,6 @@ export default class CascaderFoundation extends BaseFoundation<CascaderAdapter,
             this._adapter.updateStates({ inputValue });
             this._adapter.updateStates({ inputValue });
             !multiple && this.toggle2SearchInput(false);
             !multiple && this.toggle2SearchInput(false);
             !multiple && this._adapter.updateFocusState(false);
             !multiple && this._adapter.updateFocusState(false);
-            isSearching && this._adapter.updateStates({ isSearching: false });
         }
         }
         this._notifyBlur(e);
         this._notifyBlur(e);
     }
     }