Skip to content

Add support for a popup layer. #1004

@pixelzoom

Description

@pixelzoom

From 1/16/25 dev meeting...

@AgustinVallejo mentioned the inconvenience of having to explicity create a parent Node for ComboBox's listbox. This parent is typically created at the ScreenView level, must be added to the ScreenView last, and must be passed to the ComboBox constructor (which often involves passing through multiple layers of code).

This inconvenience is due to a general deficiency in joist. Joist does not consistently support a popup layer -- what's referred to as the glass pane in Java. Dialog, Menu, and ComboBox all do something different. It would be nice to have a unified approach, where components like ComboBox automatically handle the popup layer.

Note that some work on this was done in Popupable, which is currently used by Dialog and PhetMenu, but not by ComboBox.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions