You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When 'position: fixed' has a parent/grandparent node that has the style 'position: relative', the screenshot's level is not correct.
Because the renderContentStack method render 'position: fixed' after 'position: relative'。But 'position: fixed' should render in the top level, it should be relative to the viewport or 'transform: xxx', not 'position: relative'
Specifications:
html2canvas version tested with: 1.4.1
Browser & version: Chrome Version 122.0.6261.69 (Official Build) (x86_64)
Operating system: macOS Sonoma
The text was updated successfully, but these errors were encountered:
Bug reports:
When 'position: fixed' has a parent/grandparent node that has the style 'position: relative', the screenshot's level is not correct.
Because the renderContentStack method render 'position: fixed' after 'position: relative'。But 'position: fixed' should render in the top level, it should be relative to the viewport or 'transform: xxx', not 'position: relative'
Specifications:
The text was updated successfully, but these errors were encountered: