A div's scrollleft is not reset on refreshing the page even though the div is created again

NEW
Unassigned

Status

()

Core
DOM
P5
normal
5 years ago
25 days ago

People

(Reporter: chirag.agrawal19, Unassigned)

Tracking

25 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36

Steps to reproduce:

Load- http://zynga.com/
Logged into Account- http://zynga.com/

Steps to Reproduce:
1.Click on add zFriends tab on RightRail.
2.Click on right scrolling arrow on friend finder.
3.Click on any gam.
4.Refresh the page by using icon on address bar
5.Observe the small triangle on FriendFinder.

Working Fine for other browsers



Actual results:

Div remains in initial position


Expected results:

Div should scroll to origin position

Comment 1

5 years ago
I tried with IE11, same result, the triangle goes to the last game selected to the first game after refreshing the page.

Any idea?
Flags: needinfo?(chirag.agrawal19)
(Reporter)

Comment 2

5 years ago
I don't understand what you are trying to say but I checked with IE10 , Chrome -> On refreshing the page the pointer goes to the first game (expected behaviour) but not with Firefox 25 as the scrollLeft value is not equal to zero .
(In reply to Loic from comment #1)
> I tried with IE11, same result, the triangle goes to the last game selected
> to the first game after refreshing the page.
> 
> Any idea?
Flags: needinfo?(chirag.agrawal19)

Comment 3

5 years ago
Ok, I see: http://i.imgur.com/NSsPLUX.png
(Reporter)

Comment 4

5 years ago
Yes, precisely.
This is the issue.
NEW based on comments 2,3
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM
Ever confirmed: true
Product: Firefox → Core
Isn't this just scroll state restoration happening?
(Reporter)

Comment 7

5 years ago
Could this be due to some bug in the site code and not firefox.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.