Reputation: 6403
I have an item renderer with an HBox with the scroll bar showing.
Because the scroll bar is in the ItemRenderer of a TileList when a user drags the slider it triggers the click event on the TiLeList.
Is there anyway to maybe stopPropogation of the events on the scroll bar only?
Upvotes: 0
Views: 130
Reputation: 13620
Adding a click handler like this for the HBox should work:
private function hbox_clickHandler(event:MouseEvent):void
{
if(event.target.parent is ScrollBar)
event.stopPropagation();
}
Upvotes: 1