Skip to content

onmessage on App.tsx won't fire if plugin is closed immediately #35

Description

@butteredcorn

This tripped me up for a while until I realized why the onmessage in App.tsx doesn't fire in the example. Maybe just add a setTimeout to the figma.closePlugin call in controller.ts along with a comment.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions