Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Conversation

olegbespalov
Copy link
Contributor

@olegbespalov olegbespalov commented Dec 11, 2024

What?

  • Migrate screenshoter from deprecated visualViewport to cssVisualViewport.
  • Fallback to defaults in the case of visualViewport is nil. This is an arguable change since it's partially hiding the issue, on the other side my rational was it's better to make a screenshot with defaults, rather than erroring it. Open to discussion.
  • Unfortunately, wasn't able to reproduce that's why no tests

Why?

Currently, we have an issue with panicing #1502

Checklist

  • I have performed a self-review of my code
  • I have added tests for my changes
  • I have commented on my code, particularly in hard-to-understand areas

Related PR(s)/Issue(s)

Part of #1502

@olegbespalov olegbespalov self-assigned this Dec 11, 2024
@olegbespalov olegbespalov requested a review from a team as a code owner December 11, 2024 10:09
@olegbespalov olegbespalov requested review from ankur22 and mstoykov and removed request for a team December 11, 2024 10:09
Copy link
Collaborator

@ankur22 ankur22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@olegbespalov olegbespalov merged commit 689f4a9 into main Dec 12, 2024
23 checks passed
@olegbespalov olegbespalov deleted the fix/screenshoter branch December 12, 2024 07:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants