3 Replies Latest reply on Jun 9, 2012 9:42 AM by Barticula

    ContextMenu in ItemRenderer requires 2 clicks to activate

    Barticula Level 1

      I have an ItemRenderer that contains an image and a custom component that extends the Text component. The subclassed text component always requires two clicks to activate the context menu. The first click can be either a left- or right-click. The image functions properly and activates the context menu on the first right-click.

       

      I've tried setting focus on the custom component, capturing mouse clicks, and setting the priority of the context menu addevent listener so that it takes precedence, none of which work.

       

      This is a "legacy" project that uses Flex 3.6a SDK.

       

      Is this a problem with subclassing the Text component?

       

      Bart