Replies: 1 comment
|
Same bug here — reproduced on Your hypothesis points in the right direction. I went through the same code (
Also worth linking the sibling reports about the transparent textarea: #629, #1417, #1281 — the composer draws text via a backdrop mirror ( Fix direction (any one materially helps): never call |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
In the chat composer (input box), I often cannot switch to / activate the
Chinese input method (IME). Typing stays in English mode no matter what.
Page reload (Cmd+R) does NOT fix it — the only recovery is fully closing
the window and reopening it.
Environment
b7ed136eb504,git HEAD
47f943859b(master), package version0.1.0-rc.5,served on http://127.0.0.1:3080 (HMR enabled)
dsh webdev server from the source checkoutSteps to reproduce
Chinese input.
(e.g. after sending a message / switching sessions).
Expected behavior
The system IME should activate normally in the composer, as it does in
any other text field.
Actual behavior
Chinese input cannot be engaged. Cmd+R (page reload) does NOT recover it —
the IME stays dead. Only closing the window/tab and opening a new one
(which creates a fresh renderer process) restores Chinese input.
Workaround
Close the tab and open a new tab to the same URL (faster than closing the
whole window, same effect: new renderer process). Full window close/reopen
also works.
Additional context
renderer does, the stuck state looks like a browser-level IME session
that got wedged in the renderer process, not page DOM state.
el.focus()during IME composition, orpreventDefault()on keys while composing — seepackages/client/ui-conversation/src/client/skeleton/InputBar.tsx(composition guard +
onChange→keyboard.setDraft+ the unlockeffect that calls
focus()on mount / session switch).All reactions