The List class is doing a find-by-key.  (Try "A", "B", etc).  You
probably need to use a high priority or capture phase listener and call
stopImmediatePropagation if you handle DELETE

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of bumphrey_hogart
Sent: Wednesday, August 29, 2007 11:20 PM
To: [email protected]
Subject: [flexcomponents] Impossible to select items in a list when one
item starts with "."

 

I have come across a very strange bug in Flex. If I have a list of
items, and I want the user to be able to use the "Delete" key in order
to delete an item from the list (or DataGrid) I can not get focus on
the right element when on item starts with "."

When I try to retrieve the target for the key event it has changed to
the item starting with ".". 

Just look at the sample here, try selecting an item and press delete.
You will see focus coming onto the item with the ".."
http://devblog.ezmo.com/ryggsekk/KeyMappingTest/KeyMappingTest.html
<http://devblog.ezmo.com/ryggsekk/KeyMappingTest/KeyMappingTest.html> 

Anyone else who's seen this bug? 

 

Reply via email to