Page MenuHomePhabricator

Typing and pressing "Enter" cause text duplication in old WikiEditors under syntax highlighting mode at IE11 (Vector skin)
Closed, InvalidPublic

Assigned To
None
Authored By
gh87
Mar 29 2018, 2:49 AM
Referenced Files
F16440240: 2017 wikieditor ie11.PNG
Mar 29 2018, 11:08 PM
F16440239: 2003 wikieditor ie11.PNG
Mar 29 2018, 11:08 PM
F16280656: syntax highlighting mode (b).PNG
Mar 29 2018, 2:49 AM
F16280648: syntax highlighting mode (a).PNG
Mar 29 2018, 2:49 AM
F16280515: syntax highlighting mode (d).PNG
Mar 29 2018, 2:49 AM
F16280496: syntax highlighting mode (c).PNG
Mar 29 2018, 2:49 AM
Subscribers

Description

Copying own comment from T190682#4086806

I thought I could edit only the top of the source code.

syntax highlighting mode (c).PNG (140×452 px, 10 KB)

Indeed, if I scroll down the window and then click on the content, the page still goes back up. However, I pressed PageUp or PageDown and any other keys, and I can type anything.

syntax highlighting mode (d).PNG (256×455 px, 16 KB)

If I were to continue using the mode in IE11, I would rely more on a keyboard to scroll down and then type anything. Otherwise, if I click the editing window with a mouse, the page goes back up to the beginning, so I have to use the PageDown to go back to where I left off.

Also, I found out that performing either Ctrl+X or Ctrl+C might be okay. However, once I perform the Ctrl+V, the content won't break a line.
syntax highlighting mode (a).PNG (117×524 px, 11 KB) syntax highlighting mode (b).PNG (109×757 px, 14 KB)

Moreover, this is under the Vector skin. In summary, text duplication occurs under the syntax highlighting mode in old WikiEditors at IE11 while doing the above.

EDIT: Despite the issue reported at T190682, the issue with the scrolling under the mode is separate. Indeed, the textarea is editable only as long as you click only the top of the textarea and then press either PageUp or PageDown. Moreover, to edit and make changes under the CodeMirror mode, avoid clicking on the textarea while it is in the middle of a source.

Event Timeline

@gh87 This ticket seems similar to T190682: CodeMirror textarea scrolls back to top in IE with CodeMirror enabled. How is it different? Can you please make it clearer in the description? Thank you.

Hmm... Somehow, the text duplication issue seems fixed. Indeed, when I entered some words and then hit "Enter", another line no longer duplicates the text from the previous one.

2003 wikieditor ie11.PNG (307×335 px, 8 KB) 2017 wikieditor ie11.PNG (179×400 px, 2 KB)

Maybe close this as "resolved"?

Resolved would mean we did a code change to fix the issue. :)