(e: KeyboardEvent)
| 180 | 'aria-disabled': props.isDisabled || null, |
| 181 | 'aria-describedby': ariaDescribedBy, |
| 182 | onKeyDown(e: KeyboardEvent) { |
| 183 | if (state.isOpen) { |
| 184 | return; |
| 185 | } |
| 186 | |
| 187 | if (props.onKeyDown) { |
| 188 | props.onKeyDown(e); |
| 189 | } |
| 190 | }, |
| 191 | onKeyUp(e: KeyboardEvent) { |
| 192 | if (state.isOpen) { |
| 193 | return; |