<ComboboxInput onKeyDown={e => e.stopPropagation()} />
- User
<ComboboxInput onKeyDown={e => e.stopPropagation()} />
- Assistant
It looks like you’re using a
ComboboxInputcomponent and you want to stop the propagation of theonKeyDownevent. This is a common pattern when you want to prevent parent components or global handlers from reacting to key events that occur within your input.Here’s a quick explanation and some tips:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.