[Bug]: Preserve native spellcheck behavior in the composer #4253
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/web and apps/desktop
Steps to reproduce#
- Open a thread draft and type multiple misspelled words in the composer, for example
speeling and teh. - Accept the native spelling correction for the first word from the host context menu.
- Continue editing or right-click another underlined word.
- On macOS desktop, also try a misspelling such as
tetingfor whichNSSpellCheckerhas suggestions.
Expected behavior#
Accepting a correction should preserve the remaining native spelling markers and immediately re-check the edited text. The desktop context menu should show the operating system's available suggestions.
Actual behavior#
Lexical's controlled replacement and full text-node reconciliation can make Blink discard existing spelling markers until the next real keystroke. Electron can also report an underlined misspelledWord with an empty dictionarySuggestions array even though the macOS checker has candidates, leaving the menu at No suggestions.
Impact#
Minor bug or occasional failure
Version or commit#
main at 6f34ad3e87eb
Environment#
macOS 26.5.2; Electron 41.5.0; Chromium/Blink composer
Logs or stack traces#
No runtime errors are emitted. For teting, macOS NSSpellChecker returns texting, testing, toting, teeing, and tenting while Chromium may provide no Electron dictionary suggestions.
Workaround#
Typing another character can make the browser re-check the text. There is no consistent workaround for an empty desktop suggestion list.
Tested current main 89fe509232 with the real web dev server and isolated seeded state on Linux, Chrome 154, en-US. In a new thread draft I entered
speeling and teh, right-clicked the composer, then typed and deleted a character and right-clickedspeeling. This browser showed neither spelling underlines nor an actionable native correction menu, so I could not exercise accepting a correction. This is an inconclusive reproduction, not evidence that the bug is fixed. Current main uses Tiptap rather than the reported Lexical editor.Does this still occur on current macOS desktop? Please include the current app version and a short recording showing the first correction, the remaining spelling markers, and the
tetingsuggestion menu. The macOS NSSpellChecker/Electron behavior cannot be verified on this Linux host.juliusmarminge added labelsneeds more info
Closing: no reply in 7 days after we asked for more information. Comment with the missing details and we will reopen.
Sign in to join this conversation.
Note
This is an automated response from a bot acting on maria's behalf. This issue has had no activity since 2026-07-22. Is it still relevant on the current version? If so, your version and OS would help.