Opened 8 years ago

Closed 8 years ago

#8307 closed feature (worksforme)

Can we differentiate mouse and keyboard source in the focus event?

Reported by: sunlight07 Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.20
Keywords: Cc:
Blocked by: Blocking:

Description

At current time, the focus callback function will be called when an item is focused. This is really useful for us to bind render related event on it. However, I'd like to have different behaviour on focus by "mouseover" or focus by keyboard event.So can we add this feature to autocomplete?

Change History (1)

comment:1 Changed 8 years ago by Scott González

Resolution: worksforme
Status: newclosed

Use event.originalEvent (you may need to walk multiple times).

Last edited 8 years ago by Scott González (previous) (diff)
Note: See TracTickets for help on using tickets.