Skip to content

[Bug] anchorPoint creates duplicated clickable area #819

@hugoatmooven

Description

@hugoatmooven

Description

When setting anchorPoint to an AdvancedMarker the content is offset accordingly, but a clickable box remains in the original position.

In the images below you can see where the marker is, and the empty box that remains clickable being inspected:

Image Image

Steps to Reproduce

CodeSandbox example: https://codesandbox.io/p/devbox/marker-issue-forked-5q9z8t

Environment

  • Library version: 1.5.5
  • Google maps version: weekly
  • Browser and Version: Chrome Version 139.0.7258.139
  • OS: MacOS 15.6

Logs


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions