Skip to main content

Search and Top Navigation

#5125 closed bug (notabug)

Opened February 03, 2010 02:57PM UTC

Closed February 04, 2010 02:27AM UTC

Last modified October 11, 2012 09:15PM UTC

On IE, pressing enter automatically triggers a click event on an unfocused button

Reported by: benjamin.neau Owned by:
Priority: critical Milestone:
Component: ui.button Version: 1.8rc1
Keywords: button, focus, click, ie, internet explorer, msie, automatic, unexpected Cc: benjamin.neau@free.fr
Blocked by: Blocking:
Description

When no element is focused, pressing enter will result in:

  • [On IE8] Clicking the very first button of the page (the one labelled "Simple button, only text")
  • [On IE6/7] Clicking the submit button (the one labelled "Submit button")

There is no such bug on FF 3.6 and Chrome 3.0.

The bug can be experimented on the button component visual tests page : http://jquery-ui.googlecode.com/svn/branches/dev/tests/visual/button/default.html.

Attachments (0)
Change History (2)

Changed February 04, 2010 02:27AM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

This is not a bug, this is how IE behaves. You'll get the exact same behavior even without any of the jQuery files loaded.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted