SSShooter / SSShooter/mind-elixir-core

Node doesn't extend properly while typing with an IME

Open
#382 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.2k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

Hi, this is a bug that was reported by a user of our app (Trilium Notes), that embeds Mind Elixir. The issue is also reproducible on the demo (https://docs.mind-elixir.com), so it's not related to Trilium Notes itself.

To Reproduce
Steps to reproduce the behavior:

  1. Write inside a note using a IME (e.g. Chinese)

Expected behavior

The node extends to fit the text that was just typed in.

Screenshots

https://github.com/user-attachments/assets/d389cf37-23a7-4543-aa34-0846a42d7c61

Desktop (please complete the following information):

  • OS: macOS
  • Browser: not sure, maybe Safari
  • Version: 15.7.7

Additional context

Downstream bug: https://github.com/TriliumNext/Trilium/issues/10500

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on the Mind Elixir demo using a Chinese IME, then compare node sizing while text is being composed. Done means a node extends to fit newly entered IME text; verify the behavior in the affected desktop browser environment if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.