mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix form placeholder/value positioning for scrolled pages
This commit is contained in:
parent
6ece2a3d5a
commit
7ebd191488
2
dist/html2canvas.js
vendored
2
dist/html2canvas.js
vendored
@ -1926,7 +1926,7 @@ NodeParser.prototype.paintFormValue = function(container) {
|
||||
}
|
||||
});
|
||||
var bounds = container.parseBounds();
|
||||
wrapper.style.position = "absolute";
|
||||
wrapper.style.position = "fixed";
|
||||
wrapper.style.left = bounds.left + "px";
|
||||
wrapper.style.top = bounds.top + "px";
|
||||
wrapper.textContent = container.getValue();
|
||||
|
2
dist/html2canvas.min.js
vendored
2
dist/html2canvas.min.js
vendored
File diff suppressed because one or more lines are too long
@ -352,7 +352,7 @@ NodeParser.prototype.paintFormValue = function(container) {
|
||||
}
|
||||
});
|
||||
var bounds = container.parseBounds();
|
||||
wrapper.style.position = "absolute";
|
||||
wrapper.style.position = "fixed";
|
||||
wrapper.style.left = bounds.left + "px";
|
||||
wrapper.style.top = bounds.top + "px";
|
||||
wrapper.textContent = container.getValue();
|
||||
|
Loading…
Reference in New Issue
Block a user