dify/web/app/components/goto-anything
yyh 3997749867
fix: add IME-safe onPressEnter prop to base Input component (#31757)
The base Input component lacked IME composition detection, causing
Enter key presses during CJK input method candidate selection to
mistakenly trigger form submissions.

Add an `onPressEnter` prop with built-in IME safety using
compositionStart/End tracking and nativeEvent.isComposing checks
(with Safari 50ms delay workaround). Migrate all 5 call sites
from manual onKeyDown Enter detection to onPressEnter.
2026-01-30 17:56:25 +08:00
..
actions refactor(web): remove useMixedTranslation, better resource loading (#30630) 2026-01-07 13:20:09 +08:00
command-selector.spec.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
command-selector.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
context.spec.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
context.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
index.spec.tsx chore: remove useless __esModule (#30366) 2025-12-30 15:37:16 +08:00
index.tsx fix: add IME-safe onPressEnter prop to base Input component (#31757) 2026-01-30 17:56:25 +08:00