(e: PressEvent)
| 334 | |
| 335 | // Press handlers for the ComboBox button |
| 336 | let onPress = (e: PressEvent) => { |
| 337 | if (e.pointerType === 'touch') { |
| 338 | // Focus the input field in case it isn't focused yet |
| 339 | inputRef.current?.focus(); |
| 340 | state.toggle(null, 'manual'); |
| 341 | } |
| 342 | }; |
| 343 | |
| 344 | let onPressStart = (e: PressEvent) => { |
| 345 | if (e.pointerType !== 'touch') { |