yuluo-yx opened a new issue, #2143: URL: https://github.com/apache/rocketmq-dashboard/issues/2143
## Affected branch rocketmq-studio at 737a7b4d ## Problem The Home and AI prompt inputs submit on Enter without checking native IME composition state. Confirming a Chinese or Japanese candidate can therefore navigate or send prematurely. On the AI page, two submissions in the same event loop can both pass the React loading-state guard and start duplicate streams. ## Expected behavior Enter during composition should only confirm the IME candidate. AI prompt submission should allow at most one in-flight stream even when Enter or click is triggered twice before state is committed. ## Reproduction Compose text with an IME and press Enter to confirm a candidate, or dispatch two send actions synchronously before the loading render. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
