We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1c2adc commit 9bd5d3aCopy full SHA for 9bd5d3a
static/app/components/events/autofix/v3/nextStep.tsx
@@ -314,9 +314,12 @@ function NextStepTemplate({
314
placeholder={placeholderPrompt}
315
value={userContext}
316
onChange={event => setUserContext(event.target.value)}
317
- onKeyDown={event => {
318
- if (event.key === 'Enter' && !event.shiftKey) {
319
- event.preventDefault();
+ onKeyDown={e => {
+ if (e.nativeEvent.isComposing) {
+ return;
320
+ }
321
+ if (e.key === 'Enter' && !e.shiftKey) {
322
+ e.preventDefault();
323
if (!isProcessing && userContext.trim()) {
324
onClickNo(userContext);
325
}
0 commit comments