Skip to content

Cannot capture the element out of view port #483

@yeupanhmaj

Description

@yeupanhmaj

Use case: description, code

I have a div wanted to capture, when it visible. the code work just find.
image

but when i set the position to

<div id="capture"  style={{ position: 'absolute', top: -9999, left: -9999 }}>{children}</div>

the captured show blank
image

Expected behavior

The div was captured.

Actual behavior (stack traces, console logs etc)

The div was not captured

Library version

2.6.0

Browsers

  • Chrome 49+
  • Firefox 45+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions