[
https://issues.jboss.org/browse/RF-11381?page=com.atlassian.jira.plugin.s...
]
Brian Leathem commented on RF-11381:
------------------------------------
Here's a summary of the problem I'm having resolving this issue.
Native focus/blur events fire when a specific dom element gains/loses focus - it does not
bubble up, nor does it apply to it's children. My initial approach was to
programatically track what has focus, and manually fire focus/blur events. This worked in
simple cases, but resulted in the timing problem reported with this issue.
jQuery has the focusIn/focusOut events that do bubble up, but are fired even when focus
jumps between different children of an element. Thus, using these events to for the
picklist, we would have events firing as we move between the source and target lists, and
would have to again disambiguate these events programtically.
There is however a jQuery plugin that achieves exactly what we want:
http://plugins.jquery.com/project/focus
{quote}
This file adds the focusin and focusout events. These events are fired when focus goes
into/out of an element or any of its children. It does not fire when focus jumps between
different children of an element.
{quote}
Clilcking the up/down arrows of the orderingList causes focus/blur
events to collide
------------------------------------------------------------------------------------
Key: RF-11381
URL:
https://issues.jboss.org/browse/RF-11381
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-selects
Reporter: Brian Leathem
Assignee: Brian Leathem
Fix For: 4.1.0.Milestone3
The hole approach to handling the focus/blur of the composed ordering and pick list
components needs to be reviewed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira