Skip to content

Commit

Permalink
fix: [city-picker] 去除键盘上下键以及enter展开下拉面板 fix kingdee#913
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfeng_wang committed Oct 22, 2024
1 parent 63ff968 commit 54e80e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/city-picker/city-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ const InternalSelect: React.ForwardRefRenderFunction<CityPickerProps> = (props:
// open
if (which === KeyCode.ENTER || which === KeyCode.UP || which === KeyCode.DOWN) {
e.preventDefault()
setOptionShow(true)
}
// up、down、enter、esc
if (optionShow) {
Expand Down

0 comments on commit 54e80e3

Please sign in to comment.