Skip to content

Commit

Permalink
fix: [city-picker] 调整下拉面板关闭逻辑 fix #925
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfeng_wang authored and haohao_peng committed Dec 2, 2024
1 parent 1048acc commit bee633d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/city-picker/city-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ const InternalSelect: React.ForwardRefRenderFunction<CityPickerProps> = (props:
defaultVisible: optionShow,
visible: optionShow,
onVisibleChange: handleVisibleChange,
clickToClose: !searchValue,
onTransitionEnd: () => {
if (optionShow === false) {
handleClear()
Expand Down

0 comments on commit bee633d

Please sign in to comment.