Skip to content

Cursor jumps with activated Markdown modus #6587

Open

Description

@danielriedmueller

Check before submitting

  • I searched existing issues and did not find a duplicate

Describe the bug

On Android with PWA

With activated Markdown modus its hard or impossible to write notes.
I preferre this mode, because without, its hard or impossible to edit Markdown tables :)

Steps to reproduce

Activate Markdown modus
Write

Memos version

Version 26.11.1

Additional context

No response

Activity

  1. boojack commented on Nov 19, 2026

    @boojack
    Member

    This looks like a possible duplicate of #6582. We fixed a cursor jump in Markdown mode that happened when pressing Space after finishing a word with an input method.

    Could you try the Memos demo on the same Android device with Markdown mode enabled and let us know whether the cursor still jumps?

  2. danielriedmueller commented on Nov 22, 2026

    @danielriedmueller
    Author

    Hey, thanks for your answer.
    There is only a SSO for memos demo and without login i cant change the setting to enable markdown mode.

  3. minils commented on Nov 29, 2026

    @minils

    I can reproduce this on Android with Memos 26.11.2 (@usememos/editor 26.11.6) and HeliBoard. With Markdown mode on, tapping somewhere else in the text puts the caret back at the end of the word I just typed. With Markdown mode off it works, and dragging the blue caret handle works too. Turning off the keyboard's suggestions doesn't help.

    I don't think this is a duplicate of #6582. The cause is in the editor: Android keyboards keep the current word in a composition. After a tap, the keyboard finishes the word, and the editor then moves the caret to the end of that word. In Markdown mode the whole document is a single block, so every tap hits this. In normal mode it only happens when you tap in the same paragraph.

    I've opened a fix with tests in the editor repo: usememos/editor#8. I tested it on my phone (HeliBoard, Markdown mode), and the caret now stays where I tap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions