-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropdown: filter IME Enter bug #7621
Comments
We are facing the same bug. Does anyone have a good workaround? |
It's my workaround. But we need root solution. Step to workaround
(project_root_directory)/node_modules/primereact/dropdown/dropdown.esm.js
case 'Enter':
case 'NumpadEnter':
+ if (event.is_composing === false) {
+ onEnterKey(event);
+ }
event.preventDefault();
break; 3.(optional) delete (project_root_directory)/node_modules/.vite
npm run dev
npm run build |
@CRC32EX |
No. It's Impossible. But, i have an idea. Notice. |
Thank you for your reply. |
primereact“:”^9.6.3” code in the corresponding section.
|
I found an event that is not listed on the PrimeReact site, and I believe it can resolve the composition issue. Here’s my implementation:
|
@ryrocks can you submit a PR? |
The KeyboardEvent for the Japanese IME when pressing Enter to confirm a converted word is “Proccess”, but Chrome and Safari on the Mac do not seem to support this specification.
Reference |
Describe the bug
Pressing the Enter key to confirm a converted word in the Japanese IME causes the filter dialog to close unexpectedly.
This problem happen on Remix.
Vite is no problem.
Reproducer
https://stackblitz.com/edit/remix-run-remix-9ccvms25
System Information
Steps to reproduce the behavior
おんせん
Expected behavior
Possible solution
https://gist.github.com/CRC32EX/b05988bb96bf7910a25cad74f5a9c589/revisions
primereact/components/lib/dropdown/Dropdown.js
Reference
The text was updated successfully, but these errors were encountered: