Open
Bug 1818818
Opened 3 years ago
Updated 9 months ago
FastClick use on wellcare.com breaks drop-downs on Firefox Android
Categories
(Web Compatibility :: Site Reports, enhancement, P3)
Tracking
(Webcompat Priority:P3, Webcompat Score:1)
REOPENED
People
(Reporter: ksenia, Unassigned)
References
()
Details
(Keywords: webcompat:needs-contact, webcompat:site-report, webcompat:sitepatch-applied)
User Story
platform:android impact:site-broken configuration:general affects:all branch:release user-impact-score:0
This is a variation of bug1448747, with the site using an older version of fastclick:
FastClick.notNeeded = function (a) {
'use strict';
var b,
c,
d;
if ('undefined' == typeof window.ontouchstart) return !0;
if (c = + (/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [
,
0
]) [1]) {
if (!deviceIsAndroid) return !0;
if (b = document.querySelector('meta[name=viewport]')) {
if ( - 1 !== b.content.indexOf('user-scalable=no')) return !0;
if (c > 31 && document.documentElement.scrollWidth <= window.outerWidth) return !0
}
}
if (deviceIsBlackBerry10 && (d = navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/), d[1] >= 10 && d[2] >= 3 && (b = document.querySelector('meta[name=viewport]')))) {
if ( - 1 !== b.content.indexOf('user-scalable=no')) return !0;
if (document.documentElement.scrollWidth <= window.outerWidth) return !0
}
return 'none' === a.style.msTouchAction ? !0 : !1
},
Setting msTouchAction to none makes FastClick.notNeeded function return true:
const proto = CSS2Properties.prototype.wrappedJSObject;
Object.defineProperty(proto, "msTouchAction", {
get: exportFunction(function() {
return "none";
}, window),
set: exportFunction(function() {}, window),
});
| Reporter | ||
Comment 1•3 years ago
|
||
There is same older version of fastclick being used on marksandspencer.com check out page
| Reporter | ||
Comment 2•3 years ago
|
||
chatiw.com uses it as well
| Reporter | ||
Comment 3•3 years ago
|
||
This was shipped in bug1805409.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Reopening this one, since we're now tracking the status of webcompat issues with interventions differently.
Status: RESOLVED → VERIFIED
Summary: Add an intervention for wellcare.com → FastClick use on wellcare.com breaks drop-downs on Firefox Android
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Severity: -- → S2
User Story: (updated)
Webcompat Priority: --- → P3
Webcompat Score: --- → 5
Component: Interventions → Site Reports
Keywords: webcompat:site-report
Priority: -- → P3
Updated•1 year ago
|
Webcompat Score: 5 → 4
Updated•1 year ago
|
Webcompat Score: 4 → 3
Updated•1 year ago
|
Webcompat Score: 3 → 1
Updated•9 months ago
|
User Story: (updated)
You need to log in
before you can comment on or make changes to this bug.
Description
•