-
Notifications
You must be signed in to change notification settings - Fork 537
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
Styling and positions from scrollbars are wrong in resulting screenshot #345
Comments
👋 @2knu Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
This happens in Chrome and Edge for me, but not in Firefox Also, I worked around this by temporarily setting the |
When you add a custom styling for scrollbars like the color, width etc. it will be wrong in resulting screenshot.
Example to define styled scrollbars: https://codepen.io/team/css-tricks/pen/QWWXQzE
Expected Behavior
Size, Color, etc. is exact the same in resulting screenshot
Current Behavior
Default style from scrollbars is visible instead of custom styled. The scroll position seems to be wrong too sometimes
Possible Solution
Steps To Reproduce
Additional Context
Example:
Generated with html-to-image
(The whitespace is just because we use shadow dom for performance reasons)
Your Environment
The text was updated successfully, but these errors were encountered: