Skip to content

Screenshot exception #539

@bobybyang

Description

@bobybyang

Expected Behavior

If the content of a div node is overflowing and the div is set with overflow: hidden;, but when I take a screenshot, the overflowing content is not at the top but may be in the middle or at the bottom, the content in the captured visual area does not meet expectations. How should this be resolved?

Current Behavior

Possible Solution

Steps To Reproduce

  1. ...
  2. ...
  3. ...
Error Message & Stack Trace

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

Additional Context

Your Environment

  • html-to-image: [e.g. 0.1.0]
  • OS: [e.g. macOS Sierra 10.12.3]
  • Browser: [e.g. chrome 78.0.3904.108]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions