Skip to content

Bug: Mobile error cursor jumps to start line #4207

Open

Description

@reymon359

Hey there 👋🏽

When I click in the end of a word/line, the cursor jumps to the beginning of it

This may be related to this one #3538

Here is an example with the lexical playground

video5838997340148469461.mp4

Lexical version: locally version "lexical": "0.7.6" although it is also happening on the latest version as of the moment I am writing this 😉

Steps To Reproduce

  1. on Mobile write some text
  2. then click like if you want to continue writing in the end on a line
  3. you will be jumped to the beginning of the line

Link to code example: https://playground.lexical.dev/

The current behavior

When I click in the end of a word/line, the cursor jumps to the beginning of it

The expected behavior

When I click in the end of a word/line, the cursor should be in the end of the word/line

Activity

  1. added
    core
    on Apr 5, 2023
  2. reymon359 commented on Apr 7, 2023

    @reymon359
    Author

    Hey @zurfyx any update on this or a way to "quick" fix it while it is properly addressed? 😄

  3. reymon359 commented on Apr 26, 2023

    @reymon359
    Author

    Hey there 👋🏽

    I got told on Discord this was fixed on 0.9.2 but I can't see it on the release https://github.com/facebook/lexical/releases/tag/v0.9.2 🤔

    Screenshot 2023-04-26 at 10 17 09

    Why the issue has not been referenced in any PR?
    Shouldn't we close is if that is the case? 😄

  4. reymon359 commented on Apr 27, 2023

    @reymon359
    Author

    I had a look to the playground, and it is still happening :(

    WhatsApp.Video.2023-04-27.at.13.25.23.mp4
  5. dragonman225 commented on Sep 23, 2023

    @dragonman225

    Yeah, it's happening on my phone, too. I'm using Google Chrome 116.0.5845.172 on Android 13.

    lexical_bug.mp4
  6. dragonman225 commented on Jun 15, 2024

    @dragonman225

    Still happening on Google Chrome 126.0.6478.71 Android 14.

    Lexical.Cursor.Bug.on.Android.mp4
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

    android-bugcore

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions