Cannot input Chinese character in the Chat Input TextArea of Preview Panel (Ubuntu 20.04LTS Firefox136.0, IBus_libpinyin1.11.1)
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.0.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Environment: Ubuntu 20.04LTS
Backend: podman-compose version 1.3.0 podman version 3.4.2
Frontend: Firefox136.0, ibus_libpinyin1.11.1
Reproduce:
- configure the env to change port 80 to 8080, 443 to 8443 for rootless mode.
- use
podman-compose up -dto start the docker container - use firefox to open http://localhost:8080
- configure model provider
- create a chatbot application
- try the chatbot in the Preview Panel
- in the Chat Input TextArea of Preview Panel, when you try to type in any Chinese character, the prompt bar for candidate Chinese characters appears and disappears immediately. If you type 1 quickly, you can see the first candidate Chinese character is inputted.
- All other text areas in Dify can input Chinese characters with IBus IME without any issue. Only the Preview Input has problem.
✔️ Expected Behavior
Chinese character candidate bar shall not disappear before I type the number to choose.
❌ Actual Behavior
Chinese character candidate bar immediately disappear after it is shown when I key down a key for example 'a'.
Hello! I can't reproduce this problem Operating system: mac os 15 Browser: Edge 134 Code branch: latest main branch
@crazywoola @justincui
Hi, @justincui. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary:
- You reported a bug on Ubuntu 20.04LTS using Firefox 136.0 where Chinese characters cannot be inputted in the Chat Input TextArea of the Preview Panel.
- The candidate bar disappears immediately, causing the issue.
- This problem does not occur in other text areas of the application.
- Perfecto23 attempted to reproduce the issue on macOS 15 using Edge 134 but was unable to replicate it, suggesting it might be specific to your environment.
Next Steps:
- Please let me know if this issue is still relevant to the latest version of the Dify repository by commenting here to keep the discussion open.
- If no further updates are provided, this issue will be automatically closed in 15 days.
Thank you for your understanding and contribution!
Oh, I encounter the same situation. My Linux info:
- firefox: 115.5.0esr
- dify verson:1.0.1
- ibus-libpinyin: 1.15.3
I also wanna know how to fix the similar issue. And the deep reason is the compatibility among the components
Big News: Updating dify-web to 1.2.0 is enough to fix the previous problem.