Closed Bug 1578630 Opened 6 years ago Closed 6 years ago

The cursor jumps to the beginning while writing a tweet in twitter web.

Categories

(Core :: DOM: Editor, defect, P2)

70 Branch
Desktop
macOS
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox70 --- affected

People

(Reporter: w2000wkd, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:70.0) Gecko/20100101 Firefox/70.0

Steps to reproduce:

  1. Set keyboard input source to Korean (한글 두벌식)
  2. Go to https://twitter.com/
  3. Write "1 1" in the editor

video:
https://twitter.com/choyongjoon/status/1169113044443525120

Actual results:

The cursor jumps to the beginning

Expected results:

The cursor must remains in the last

I have attempted to reproduce your issue on Mac OS 10.14.6 with Firefox Nightly v71.0a1 and Firefox Beta v70.0b4. The issue described could not be reproduced using the steps in comment 0.

Please test if the issue is reproducible in safe mode, here is a link that can help you:
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode

If it still reproduces while is safe mode, please try and give ans much information as possible on how it reproduces.

Thank you for your contribution!

Flags: needinfo?(w2000wkd)

Thanks for your reply.

I have reproduced it in safe mode.

For more informaton, I attach a screenshot that shows the keyboard source configuration and versions. And I also copy/paste the part of html. The HTML is from the tweet editor. In my firefox settings, [ko], [ko-kr], [en], [en-us] is preferred lanugages.

If you need other informations, please let me know.

<div aria-activedescendant="typeaheadFocus-0.7718577746051648" aria-autocomplete="list" aria-controls="typeaheadDropdownWrapped-3" aria-describedby="placeholder-5dkpa" aria-label="트윗 텍스트" aria-multiline="true" class="notranslate public-DraftEditor-content" data-testid="tweetTextarea_0" role="textbox" spellcheck="true" style="outline: currentcolor none medium; user-select: text; white-space: pre-wrap; overflow-wrap: break-word;" tabindex="0" no-focuscontainer-refocus="true" contenteditable="true"><div data-contents="true"><div class="" data-block="true" data-editor="5dkpa" data-offset-key="bm8qs-0-0"><div data-offset-key="bm8qs-0-0" class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"><span data-offset-key="bm8qs-0-0"><span data-text="true">1 1</span></span></div></div></div></div>
Flags: needinfo?(w2000wkd)

I still can't find the right steps to reproduce for this issue. These are mine:

  1. Changed the system display language to Korean.
  2. Changed the keyboard input language to Korean (as seen in the screenshot).
  3. Opened Twitter and logged in.
  4. Clicked inside of the editor/input box ("What's happening?" text displayed as a placeholder text).
  5. Hit the "1" key 2 times.

Observed result: The cursor is properly displayed at the right of the "11" string, not the left.

We need to find clear steps to reproduce. It might not be caused by the browser, but by some third-party on your system.
** Please take the next steps and retest in a newly created profile (you have the steps here: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager). **
Which Apple device do you have? Does it have version 10.14.6?

I will set this bug's component to (Core) Editor. and hope someone can help us with ideas to regress this issue.

Type: enhancement → defect
Component: Untriaged → Editor
Flags: needinfo?(w2000wkd)
OS: Unspecified → macOS
Product: Firefox → Core
Hardware: Unspecified → Desktop

Oh you missed a 'space' between two "1"s. Hit "1", a space and "1" in step 5.

Also you can replace "1" with other charcaters like ",.-. (But ' is ok.)

"1", a space, (change keyboard input language to English), and "a" makes the cursor jump.

Flags: needinfo?(w2000wkd)

That wasn't it. Still cannot reproduce. Could you reproduce in a newly created profile?

Flags: needinfo?(w2000wkd)

I have reproduced it in a new profile. I tried to find my custom settings which may affect this, but I couldn't find.

I think it's related to the implementation of twitter editor. Because it's not happening in a simple ContentEditable. And I haven't experience this bug at any other sites.

https://codepen.io/bantic/pen/BNgvKa

Flags: needinfo?(w2000wkd)

Thanks Bodea and w2000wkd for the information.

Hey Mike, have you noticed related webcompat reports on twitter? Do you think your team could help to narrow down the issue given comment 7? Thank you, too.

Flags: needinfo?(miket)

I don't think we've seen this one yet. I've asked Tom to take a look, thanks!

Flags: needinfo?(miket) → needinfo?(twisniewski)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2

I cannot reproduce this today. Did twitter fix this issue?

I cannot reproduce this, too. It seems Twitter fixed this.

Let's close here. Thanks.

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(twisniewski)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: