dify/web/app/components/base/pagination
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
..
hook.ts chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
index.stories.tsx chore: update to story book nextjs-vite (#31536) 2026-01-26 17:07:20 +08:00
index.tsx fix: add IME-safe onPressEnter prop to base Input component (#31757) 2026-01-30 17:56:25 +08:00
pagination.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
type.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00