html2canvas icon indicating copy to clipboard operation
html2canvas copied to clipboard

node.tagName.indexOf is not a function

Open orzcz opened this issue 1 year ago • 0 comments

如果有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

orzcz avatar Sep 14 '24 03:09 orzcz