Parabellum1905y / ufd

Automatically exported from code.google.com/p/ufd
GNU General Public License v2.0
0 stars 0 forks source link

"select" (a.k.a. "do-what-I-want") event #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Right now, there are events for "focus", "change", and "blur".

I'd really like there to be a fourth event, that happens whenever something is 
selected: Either

1) The mouse clicks on an item

or

2) The Enter key is pressed

Alternatively, "change" could be modified so that it fires on pressing Enter 
and doesn't fire on pressing the up or down arrows, as there isn't much use to 
the current behaviour that is different when using the mouse or keyboard and 
surprises the user.

Thank you very much, and I'd love to hear your opinion on the subject.

Aur Saraf

Original issue reported on code.google.com by aurh...@gmail.com on 28 Apr 2011 at 9:33

GoogleCodeExporter commented 8 years ago
I agree that the change event fires often, maybe too often.  JQuery have 
normalized the event in newer versions, so it fires consistently across 
browsers.  I think I should probably match this behvaiour.

Original comment by thetoolman on 21 May 2012 at 6:26