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
[7.0.4] Type defaultViewport can't be null (to take all window space) #6885
Comments
Can confirm the same issue. |
Remove |
8 tasks
christian-bromann
added a commit
to christian-bromann/puppeteer
that referenced
this issue
Mar 1, 2021
Proposed a fix for this in #6942 |
sadym-chromium
added a commit
that referenced
this issue
Mar 24, 2021
Fixes: #6885 Co-authored-by: Maksim Sadym <69349599+sadym-chromium@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usually, to make viewport taking all the available space in window we need to set
defaultViewport
to null:This doesn't seem to be allowed in typescript (
defaultViewport
must be of typeViewport
orundefined
):But leaving it undefined does not give the desired result.
The text was updated successfully, but these errors were encountered: