Page MenuHomePhabricator

Links in the TOC of vector 2022 are not clickable for some Chromium based browsers
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

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

What happens?:
Nothing.

From 3c433a5315c7f4c864afa8ab5ee3497ce6f7a1c9: pointer-events: none;

What should have happened instead?:
Navigate to the respective section.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
Chrome 101.0.4951.41

QA Steps

  • Confirm fix on Edge 101.0.1210.32
  • Confirm fix on 101.0.4951.41

QA Results - Beta

ACStatusDetails
1T307271#7901708

Event Timeline

Jdlrobson added a subscriber: AlexisJazz.

Seems to be an issue with pointer events AND display inline changing implementation in the most recent issue of Chrome:
Minimum test case:

`
<head>
    <style>
    .sidebar-toc .sidebar-toc-link > * {
         pointer-events: none;
    }
    </style>
</head>
<body><nav class="sidebar-toc">
	
	<ul >
		<li>
			<a href="#top-page" class="sidebar-toc-link">
				<div class="sidebar-toc-text">Beginning</div>
			</a>
		</li>
		
	</ul>
</nav>
</body>
Jdlrobson renamed this task from Links in the TOC of vector 2022 are not clickable for Chrome to Links in the TOC of vector 2022 are not clickable for some Chromium based browsers.May 2 2022, 2:09 PM

This bug has probably invalidated existing A/B test data as no clicks are being tracked @ovasileva

I reported this bug at Village Pump using Edge, and reported that Chrome did respond to clicks. If someone else has repro'ed it in Chrome, then that's OK with me, but I'd like to be sure the fix applies to Edge too.

ovasileva raised the priority of this task from High to Unbreak Now!.

Moving the pointer-events style to .sidebar-toc-text span seems to do the trick

Change 788388 had a related patch set uploaded (by Jdrewniak; author: Jdrewniak):

[mediawiki/skins/Vector@master] [TOC] Remove pointer-events:none on .sidebar-toc-link

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

Change 788338 had a related patch set uploaded (by Jdlrobson; author: Jdrewniak):

[mediawiki/skins/Vector@wmf/1.39.0-wmf.9] [TOC] Remove pointer-events:none on .sidebar-toc-link

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

Change 788338 merged by jenkins-bot:

[mediawiki/skins/Vector@wmf/1.39.0-wmf.9] [TOC] Remove pointer-events:none on .sidebar-toc-link

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

Jdlrobson lowered the priority of this task from Unbreak Now! to High.May 2 2022, 8:36 PM

Mentioned in SAL (#wikimedia-operations) [2022-05-02T20:38:01Z] <catrope@deploy1002> Started scap: Backport: [[gerrit:788338|[TOC] Remove pointer-events:none on .sidebar-toc-link (T307271)]] and [[gerrit:788336|Video landing page: Show different title/body text on mobile (T303785)]]

Backported to all wikis and fixed in latest train. I've confirmed fix in production on Chrome 101 but we should check latest branch once more.

Mentioned in SAL (#wikimedia-operations) [2022-05-02T20:49:46Z] <catrope@deploy1002> Finished scap: Backport: [[gerrit:788338|[TOC] Remove pointer-events:none on .sidebar-toc-link (T307271)]] and [[gerrit:788336|Video landing page: Show different title/body text on mobile (T303785)]] (duration: 11m 45s)

Edtadros added a subscriber: Edtadros.

Test Result - Beta

Status: ❌ Fail
Environment: betai
OS: macOS Monterey
Browser: Edge 101.0.1210.32, Chrome 101.0.4951.41
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

❌ AC1: Confirm fix on Edge 101.0.1210.32

Screen Recording 2022-05-03 at 6.33.56 PM.mov.gif (1×972 px, 1 MB)

✅ AC2: Confirm fix on Chrome 101.0.4951.41

Screen Recording 2022-05-03 at 6.33.30 PM.mov.gif (988×972 px, 859 KB)

I can confirm this is fixed on Windows Edge 101.0.1210.32

@Edtadros - could you check Edge in production instead as a second verification?

Change 788388 merged by jenkins-bot:

[mediawiki/skins/Vector@master] [TOC] Remove pointer-events:none on .sidebar-toc-link

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

@Edtadros - could you check Edge in production instead as a second verification?

@ovasileva It works in production.

Screen Recording 2022-05-04 at 2.21.20 PM.mov.gif (1×1 px, 1 MB)

ovasileva claimed this task.

Great, resolving

Change 789327 had a related patch set uploaded (by Func; author: Jdrewniak):

[mediawiki/skins/Vector@wmf/1.39.0-wmf.10] [TOC] Remove pointer-events:none on .sidebar-toc-link

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

Merged on the master branch after the train cut, need a backport.

The unclickable ToC problem raised again today for me, when using Microsoft Edge Version 101.0.1210.32 (Official build) (64-bit).

Change 789327 merged by jenkins-bot:

[mediawiki/skins/Vector@wmf/1.39.0-wmf.10] [TOC] Remove pointer-events:none on .sidebar-toc-link

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

Mentioned in SAL (#wikimedia-operations) [2022-05-05T13:30:49Z] <tgr@deploy1002> Synchronized php-1.39.0-wmf.10/skins/Vector/resources: Backport: [[gerrit:789327|[TOC] Remove pointer-events:none on .sidebar-toc-link (T307271)]] (duration: 00m 49s)

Backport deployed.

Reporting that links in the contents sidebar are clickable in Google Chrome version 101.0.4951.54 (Official Build) (64-bit).