Skip to content

Text corruption when editing on phone: unwanted cursor jumping, character deletion, and inserting of duplicate words #520

Closed

Description

@taigit

Describe the bug or issue here…

Steps to Reproduce

On phone, go to: https://trix-editor.org/

Scenario 1:

At the end of the edit window, create a new line

Type: abc
Move cursor to beginning of line before the 'a'
Type: d

Bug 1: 'D' is inserted after 'abc' instead of at the cursor which is before 'abc' (cursor jumping bug)

Continue scenario:
Type: new line
Bug 2: 'D' is deleted when new line is inserted (character deletion bug)

Scenario 2:

At the end of the edit window, create 5 new lines.
Move your cursor to the 3rd new line

Type: abc
Move cursor to beginning of line before the 'a'
Type: d

Bug 1 (repeated): 'D' is inserted after 'abc' instead of at the cursor

Type: new line
Bug 3: the original line now says: AbcAbc
when it should say: Abc
(inserting duplicate word bug)

Details
  • Trix version: 0.11.4
  • Browser name and version: Chrome 67.0.3396.87
  • Operating system: Android 6.0.1
  • Phone: Nexus 5

Activity

  1. stale commented on Oct 7, 2018

    @stale

    This issue has been automatically marked as stale after 90 days of inactivity. It will be closed if no further activity occurs.

  2. taigit commented on Oct 7, 2018

    @taigit
    Author

    leaving comment to foil the stale bot.

    Also, I verified that all 3 bugs still exist in https://trix-editor.org/

  3. lawso017 commented on Oct 13, 2018

    @lawso017
  4. stale commented on Jan 11, 2019

    @stale

    This issue has been automatically marked as stale after 90 days of inactivity. It will be closed if no further activity occurs.

  5. taigit commented on Jan 12, 2019

    @taigit
    Author

    leaving comment to foil the stale bot.

    Also, I verified that all 3 bugs still exist in https://trix-editor.org/

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions