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

Is there a way to reserve the position of scrollbar? #78

Closed
mahoushoujoarale opened this issue Feb 5, 2024 · 0 comments
Closed

Is there a way to reserve the position of scrollbar? #78

mahoushoujoarale opened this issue Feb 5, 2024 · 0 comments

Comments

@mahoushoujoarale
Copy link

Steps To Reproduce

HTMLElement.cloneNode do not clone the position of scrollbar, I have a dom which should be located in the center of its parent, how should I do?

origin element:
image

output image:
image

Error Message & Stack Trace

<!-- Provide a log message if relevant -->

Your Environment

  • modern-screenshot: [e.g. 4.4.9]
  • Browser: [e.g. chrome 111.0.5563.64]
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

2 participants