Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-18922

Popupmanager display issue. Tooltips and comboxes show up incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.3 (Release)
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1.Add a component containing combo box and tooltip to main application windowed application
      2.Remove it from main app and add it to new mx:window
      3. Now click on combo the dropdown opens up in the main window and not the new mx:window

      Actual Results:
      tooltip and combo dropdown open up in main application

      Expected Results:
      tooltip and dropdown should open up in new parent window

      Workaround (if any):
      The workaround is to actually remove the ComboBox from the component instead of it's container.

      In the handlePopOut(event:Event) function, you should have:

      var tempChildObject:DisplayObject = (Canvas)(tempManagedWin.getChildAt(0)).getChildAt(0).getChildAt(1);
      (Canvas)(tempManagedWin.getChildAt(0)).getChildAt(0).removeChildAt(1);

      instead of:
      var tempChildObject:DisplayObject = tempManagedWin.getChildAt(0);
      //tempManagedWin.closePanel();
      tempManagedWin.removeChildAt(0);

      The way it's written, the Canvas is removed instead of the ComboBox.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: