soso.com image carousel doesn't function on Fennec

RESOLVED WORKSFORME

Status

Tech Evangelism
Mobile
RESOLVED WORKSFORME
5 years ago
a year ago

People

(Reporter: lmandel, Unassigned)

Tracking

(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [country-cn] [js] [window.event] [contactready], URL)

Attachments

(1 attachment)

The image carousel on soso.com doesn't function in Fennec. Works fine in the Android Stock browser.
Created attachment 674324 [details]
Screenshot of the image carousel

Screenshot of the carousel. Clicking on the arrows doesn't change the photo albums in Firefox for Android.

Comment 2

4 years ago
Just tested on Firefox for Android. 

Going to the home page and selecting image search and then with a term. And I get results with images. The layout seems to have changed a lot since the screenshot attached to this bug. Closing.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
OS: Mac OS X → Android
Hardware: x86 → ARM
Resolution: --- → WORKSFORME
Whiteboard: [country-cn] [js]
Tapping an image in the search results will enlarge that image to fill the screen. At this point you're supposed to be able to slide left/right to scroll through the search results - this part doesn't work.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Lots of "ReferenceError: event is not defined" - some code here relies on a global window.event variable:

var touchStart = function(){
		topCurX = event.touches[0].screenX;
		topCurY = event.touches[0].screenY;
		topDeltaX = 0;
	}
	var touchMove = function(){
		if(event.touches.length > 1 || event.scale && event.scale !== 1) return;
		topDeltaX = event.touches[0].screenX - topCurX;
		topDeltaY = event.touches[0].screenY - topCurY;
		//if( topDeltaY > -260 && topDeltaY < 260 ){
			//if( topDeltaX > 20 || topDeltaX < -20 ){
		event.preventDefault();
			//}
		//}
	}
	var touchEnd = function(){
		if(event.touches.length > 1 || event.scale && event.scale !== 1) return;
Status: REOPENED → NEW
Whiteboard: [country-cn] [js] → [country-cn] [js] [window.event] [contactready]
It's resolved!
Status: NEW → RESOLVED
Last Resolved: 4 years ago2 years ago
Resolution: --- → WORKSFORME
Depends on: 218415
You need to log in before you can comment on or make changes to this bug.