If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Page moves up to focus on first text field in form

RESOLVED INVALID

Status

()

Firefox
General
RESOLVED INVALID
8 years ago
8 years ago

People

(Reporter: snchrisman, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; MDDC; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)

I have a website contains header and navigational menus.  The content of the page has form with many text fields.  When load a page, the page moves up and set focus to the first text field in the form.  Focus to first text field is very cool but it is NOT cool to move the page up where the first text field is at the top in the browser and not seeing the header and navigational menus.

Reproducible: Always
Please give a URL with the problem.
(Reporter)

Comment 2

8 years ago
The site is under construction.  Here is a link that will show this problem: http://208.106.231.64/checkout-info.cfm

I want to add that it does not do this in IE, Safari, Netscape... Only Firefox.

Thank you.

Comment 3

8 years ago
Tested also on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; it; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3

Firefox focus the first input text even if there is no need to scroll the page.
(Reporter)

Comment 4

8 years ago
So, you are saying that I do not need to scroll the page up?  If so, there is nothing in my code to scroll it up.  Is this still a bug?

Comment 5

8 years ago
No, I confirm what you are saying. I don't think this is a bug, but it is not nice as you said

Comment 6

8 years ago
I see this in your JS: document.getElementById('BillFirstName').focus(); 

You should turn off Javascript in preferences and you will see that this is not a firefox bug.

Btw: I used to shop at Iwan Ries for my tobacco when I lived in Chicago. Great place.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.