https://bugzilla.wikimedia.org/show_bug.cgi?id=52445

       Web browser: ---
            Bug ID: 52445
           Summary: VisualEditor: buggy interaction of hatnotes and down
                    cursor
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentEditable
          Assignee: i...@wikia-inc.com
          Reporter: cmcke...@sucs.org
                CC: i...@wikia-inc.com, jforres...@wikimedia.org,
                    krinklem...@gmail.com, or...@framezero.com
    Classification: Unclassified
   Mobile Platform: ---

When the first line of an article is a hatnote template that generates exactly
1 line of text in the visual editor, pressing down twice takes you to the end
of the article. When the hatnote template generates more than one line then
pressing down takes you to the end of the first line but no further.

I have been unable to reproduce this with templates other than hatnotes. 

Steps to reproduce (short hatnote):
1. Load a page with a short hatnote in VE, e.g. [[Laurence of Canterbury]]
2. Press the down cursor twice

Expected behaviour: you end up on the third line of the page
Actual behaviour: you end up on the last line of the page

Steps to reproduce (long hatnote):
1. Load a page with a long hatnote in VE, e.g. [[An American in Paris]]
2. Press the down cursor three or more times.

Expected behaviour: you end up on the third or fourth etc. line of the page
Actual behaviour: you end up at the end of the first line of the hatnote.

Sandbox pages to test:
Long hatnote:
https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox&oldid=566827194&veaction=edit
Short hatnote:
https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox2&oldid=566827110&veaction=edit

This might be related to bug 51708

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to