Skip to content

[Bug] Resizing the window, bugs the Popup's position. #2505

Open
@uzun0ff

Description

@uzun0ff

Description

Hello, I've been trying to figure out how to fix this behaviour of the Popup but can't find the right solution, any help will be greatly appreciated.

Here's a recording on the issue:

422877554-571b2c7a-14ea-44c6-beb7-1fa6201d360b.mp4

Expected Behavior

The Popup should stay on the same position on the map, regardless of window size.

Steps to Reproduce

Resize the window when the Popup is displayed.

Environment

  • Framework version: "react-map-gl": "^7.0.21"
  • Map library: "mapbox-gl": "^2.12.0",
  • Browser: Arc / Chrome
  • OS: MacOS Sonoma 14.6.1 (23G93)

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions