FLUID-3225: Keyboard a11y plugin fires onUnselect event twice - once by onSelect and again by onBlur

Metadata

Source
FLUID-3225
Type
Bug
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Jacob Farber
Created
2009-10-05T13:59:42.000-0400
Updated
2017-03-10T08:57:36.159-0500
Versions
  1. 1.1.2
  2. 1.2
  3. 1.3
  4. 1.4
  5. 1.5
  6. 2.0
Fixed Versions
N/A
Component
  1. Keyboard Accessibility

Description

If you use the unSelect event it will be called twice (line 320 and line 337) when it should probably only be called by the blur event

Comments

  • Anastasia Cheetham commented 2011-01-12T13:04:16.050-0500

    The code has changed significantly since this was filed, so the line numbers are no longer relevant, but now it seems that the unselect handler is being called twice when the mouse is used: through the selectableBlurHandler and through selectElement(), and it's being called three times when navigation occurs through the keyboard: through the selectableBlurHandler, through selectElement() and through prepareShift().