Hi,

As mention previous, I found a bug on ComboBox + SearchFilter bead:
https://github.com/apache/royale-asjs/issues/917
This bug happens easly on my application because I saw with a ComboBox with
many similar items but it also happens on Tour de Jewel (more difficult to
reproduce because all the items are different)

After I bring the SearchFilter bead to my project, I found a fix or
workaround to this bug.
I confirm that the end result works well, however I would like to know what
do you think about this fix ?

On SearchFilter.as, I added this on my side:
public override function set list(value:List):void
{
super.list = value;
COMPILE::JS
{
list.addEventListener(MouseEvent.CLICK, onListClick);
}
}

private function onListClick(event:MouseEvent):void
{
comboView.popUpVisible = false;
}

If is OK, I can commit it.

Reply via email to