Closed Bug 1220497 Opened 9 years ago Closed 6 years ago

Backspace key goes back a page when typing in form fields

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

45 Branch
All
Windows
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jeremiahtext, Unassigned, NeedInfo)

Details

(Whiteboard: [needinfo reporter 2015-11-02])

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36

Steps to reproduce:

I was typing in a text field, hit backspace and it went to the previous page and lost my work.


Actual results:

I hit the backspace button and it went back.


Expected results:

Not going back. Honestly a stupid and useless feature everyone hates.
Cannot reproduce the problem. Does this always happen? Or just on special pages?
Do you mean the backspace key on your keyboard, or what is a "backspace button"?
Flags: needinfo?(jeremiahtext)
That shouldn't happen when a text field has focus. Does it always happen when typing in text fields? For example, on either of the following pages? If not, then what page were you on when it happened?
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_form_text
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_elem_textarea

You can disable this feature altogether:
1. In the location bar, paste the following, then press Enter:
about:config?filter=browser.backspace_action
2. Click the “I'll be careful, I promise!” button to bypass the warning.
3. In the search results, double-click “browser.backspace_action”.
4. At the “Enter integer value” prompt, type 2 then press Enter.

As for making this the default behavior, see bug 69981, comment 39 and bug 108816.

(In reply to Andre Klapper from comment #1)
> Cannot reproduce the problem.

Please post your user agent string and build ID when making such statements. The Backspace key only triggers going back a page on Windows.
Component: Untriaged → Keyboard: Navigation
OS: Unspecified → Windows
Product: Firefox → Core
Hardware: Unspecified → All
Summary: Back button goes back a page → Backspace key goes back a page when typing in form fields
cannot reproduce the problem.The steps to reproduce is not clear.
Closing due to lack of response from reporter. Bug 1467667 was just filed about the same issue on Facebook.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [needinfo reporter 2015-11-02]
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.