New issue
Advanced search Search tips

Issue 770067 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

My website used to work properly 3weeks back...Suddenly it's not functional anymore only on chrome

Reported by sirikisa...@gmail.com, Sep 29 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Steps to reproduce the problem:
1. https://siriki-saikiran.github.io/
2. Go to projects page
3. Cross check with mozilla if the page is not working as well

What is the expected behavior?
The page should behave like what it does in mozilla firefox or just windows version of chrome

What went wrong?
The page was functioning normally when I made it. It's actually working on my friend's laptop who is using windows. I think this is something related to ubuntu. It should behave like what's shown in mozilla

Did this work before? N/A 

Chrome version: 61.0.3163.100  Channel: stable
OS Version: Ubuntu 16.04
Flash Version: 

Please look into this
 
It doesn't work in Firefox for me either (perhaps you have a Chrome user agent in firefox?)

Anyways, 

looking at your code you are setting transitions based on the document.body assuming that is the scrolling element which in Chrome 61 it isn't anymore. (explicitly to match Firefox and the spec).

if($(document.body).scrollTop() + $(window).height()*1.2 > ($(this).position().top + $(this).height()) && !$(this).hasClass('transitioned')){ 

Change this to:
if($(document.scrollingElement).scrollTop() + $(window).height()*1.2 > 

And it will work.
Components: -Blink Blink>Scroll
Status: WontFix (was: Unconfirmed)
Hey, thanks for your reply. I changed the code accordingly and it appears to be working. 

Sign in to add a comment