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

node.tagName.indexOf is not a function #3196

Open
orzcz opened this issue Sep 14, 2024 · 0 comments
Open

node.tagName.indexOf is not a function #3196

orzcz opened this issue Sep 14, 2024 · 0 comments

Comments

@orzcz
Copy link

orzcz commented Sep 14, 2024

如果有Input元素ID为tagName,报错node.tagName.indexOf is not a function

Bug reports:
Summary:

When there is an input tag with an id attribute set to "tagName", the script throws an error: node.tagName.indexOf is not a function. I am not sure if this issue also occurs with other elements that have an id set to "tagName".

Specifications:
html2canvas version tested with: Any version
Browser & version: Chrome 127.0.6533.122 arm64
Operating system: macOS 14.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant