Page MenuHomePhabricator

AddLinkArticleTarget toolbar does not display properly
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Click on a link recommendation task for a shorter article; or on a longer article scroll down

What happens?:

image.png (1×3 px, 784 KB)

and

image.png (456×1 px, 135 KB)

What should have happened instead?:

The toolbar should not go above the page/discussion tabs, like in normal visual edit mode:

image.png (456×1 px, 67 KB)

Also, the z-index for the toolbar dialog might need to be adjusted.

Event Timeline

kostajh triaged this task as Medium priority.May 5 2021, 7:11 AM
kostajh moved this task from Backlog to May 3 - May 7 on the Add-Link board.
kostajh renamed this task from Broken toolbar display on shorter articles to AddLinkArticleTarget toolbar does not display properly.May 5 2021, 10:43 AM
kostajh updated the task description. (Show Details)
kostajh raised the priority of this task from Medium to High.May 5 2021, 10:45 AM
kostajh added a subscriber: mewoph.

Tenatively assigning to @mewoph, feel free to unassign if you don't think you could get to it this week.

The floating state of the toolbar should only be applied when the page is scrolled. It looks like the value of toolbarScrollOffset is too high, decreasing this value seems to fix the issue.

Change 685532 had a related patch set uploaded (by MewOphaswongse; author: MewOphaswongse):

[mediawiki/extensions/GrowthExperiments@master] Add a link: update scroll offset & z-index

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

Same article w/latest changes:

Screen Shot 2021-05-05 at 10.15.52 AM.png (1×2 px, 856 KB)

Change 685532 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Add a link: update scroll offset & z-index

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

Etonkovidova closed this task as Resolved.EditedMay 8 2021, 12:45 AM
Etonkovidova subscribed.

Checked in betalabs - the issues are fixed.