Skip to content

bug(COMPONENT): map-info-window defined content shows below the map #30298

Closed
@Superiorx52

Description

@Superiorx52

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

In the example for map-info-window. If you use the infoWindow.open() with 3 arguments the text given will be shown
in the info window but previous content ("Info Window content" in the example) will render below the map.
This behavior only happens when you use the mentioned overload the first time to show the info window.

Reproduction

I didn't provide an external example because the example given under https://github.com/angular/components/blob/main/src/google-maps/map-info-window/README.md is enough to reproduce the problem with a small change to the openInfoWindow function.

Expected Behavior

The content of map-info-window should only be shown within the info window itself.

Actual Behavior

The content of map-info-window is shown below the map under the previous circumstances.

Environment

  • Angular:

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: google-maps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions