Page MenuHomePhabricator

Changing a link inside a table cell makes the page re-scroll unnecessarily
Closed, ResolvedPublic1 Estimated Story Points

Description

In Chrome, Win 8, Vector;
I'm trying to change the target for the "language variant" link at the bottom of https://www.mediawiki.org/wiki/VisualEditor#History .
Right after I select the new target, the page scrolls to the top.

This doesn't take place if you insert or alter a node (template, comment), apply/unapply a simple annotation (bold), or apply/alter the other rich annotation (language).

Event Timeline

In Opera, it does jump up, but then refocuses again immediately after that.

Jdforrester-WMF renamed this task from Changing a link inside a table makes the page jump to Changing a link inside a table cell makes the page re-scroll unnecessarily.Mar 8 2016, 4:32 PM
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF updated the task description. (Show Details)
Jdforrester-WMF set the point value for this task to 1.

As the inspector opens it sets the selection to null which cancels the table editing mode. Doesn't happen in the core demo though.

Change 275845 had a related patch set uploaded (by Esanders):
Link inspector: Remove premature call to onLinkTypeIndexSet

https://gerrit.wikimedia.org/r/275845

Change 275845 merged by jenkins-bot:
Link inspector: Remove premature call to onLinkTypeIndexSet

https://gerrit.wikimedia.org/r/275845