Date Inputs Not Captured in Firefox (v127.0)
nblixt opened this issue · comments
Use case: description, code
Hello. Thank you for maintaining this library.
When attempting to capture an input with a date type in Firefox, the field appears blank. This does not happen in Safari or Chrome.
JS code in app:
let captureNode = document.getElementById('capture')
let captureNodePositionInfo = captureNode.getBoundingClientRect()
let blob = domtoimage.toBlob(
captureNode,
{
width: captureNodePositionInfo.width,
height: captureNodePositionInfo.height,
bgcolor: 'white'
}
)
Expected behavior
Values in <input type="date">
are captured in the image in Firefox.
Actual behavior (stack traces, console logs etc)
Values in <input type="date">
are not captured in the image in Firefox.
I do not see any errors in the console when I do this.
Library version
3.3.0
Browsers
Affected:
- Firefox v127.0
Unaffected:
- Chrome v125.0.6422.142
- Safari v17.5