Skip to content

Multiple canvasClass on the page breaks captcha #23

Description

@habovh

I found out that if you set canvasClass to a class you're using elsewhere on the page then the method used to get a reference to the canvas element fails. Removing the element using the same class or changing the canvasClass to something else fixes the issue, but this is not ideal in case you want tu actually reuse the same class for various parts of the page.

Might open a PR to fix this.

Screenshot 2021-02-13 at 17 00 24

This was originally a comment on #18 but I think it is actually a separate issue.

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