Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] undo-redo-control code blocks event listeners on overlays #602

Open
a-j-bailey opened this issue Nov 13, 2024 · 0 comments
Open

[Bug] undo-redo-control code blocks event listeners on overlays #602

a-j-bailey opened this issue Nov 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@a-j-bailey
Copy link

Description

When using the code in the undo-redo-control.tsx file of the Drawing example, event listeners attached to new polygons don't fire.

Steps to Reproduce

  • Add an event listener to the overlaycompleted event on the drawingManager
  • When that even fires, add listeners to the insert_at, remove_at, set_at events.
  • These event listeners don't fire...
  • Removing the undo-redo-control.tsx code allows them to fire just fine.

Environment

  • Library version:
  • Google maps version: weekly
  • Browser and Version:
  • OS:

Logs

No response

@a-j-bailey a-j-bailey added the bug Something isn't working label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant