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

Android takescreenshot does not show only visible content #121

Closed
PauloMelo opened this issue Jun 21, 2019 · 2 comments
Closed

Android takescreenshot does not show only visible content #121

PauloMelo opened this issue Jun 21, 2019 · 2 comments

Comments

@PauloMelo
Copy link

If the webview is scrolled down a bit the screenshot on android always takes the hidden part and not the visible part. The image is always from the top of the screen that was scrolled down.

This does not occur on iOS that takes only the visible part through to the screenshot.

@PauloMelo
Copy link
Author

On Android documentation for capturePicture we get:
capturePicture()

This method was deprecated in API level 19. Use onDraw(Canvas) to obtain a bitmap snapshot of the WebView, or saveWebArchive(String) to save the content to a file.

pichillilorenzo added a commit that referenced this issue Oct 24, 2019
Android takeScreenshot does not work properly.
This was referenced Jul 6, 2020
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants