GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.26k stars 9.35k forks source link

Lighthouse breaks webpage #13195

Open sietsevandreven opened 2 years ago

sietsevandreven commented 2 years ago

FAQ

URL

http://www.medischcentrumharskamp.nl/

What happened?

After running Lighthouse in DevTools, the webpage zooms in (as if I used ctrl + to zoom in manually).

What did you expect?

What I expect is the usual behavior.

What have you tried?

Nothing helps to zoom out again, the only fix is to close the tab and open it again.

How were you running Lighthouse?

Chrome DevTools

Lighthouse Version

8.3.0

Chrome Version

94.0.4606.71

Node Version

No response

Relevant log output

No response

adamraine commented 2 years ago

This might be related to https://github.com/GoogleChrome/lighthouse/issues/12780. Unfortunately I can reproduce this in DevTools even with the fix in https://github.com/GoogleChrome/lighthouse/pull/13175.

connorjclark commented 2 years ago

The second LH pass on this page (running Mobile) changes viewport in a way that does not happen for any other sites I tested (cnn, paulirish, example):

image

I can't see the issue as you describe it. Can you upload an image?

sietsevandreven commented 2 years ago

medischcentrumharskamp-lighthouse-bug The website is supposed to be in the center. If I run lighthouse for the second time, it zooms in again: medischcentrumharskamp-lighthouse-bug-2

sietsevandreven commented 2 years ago

Switching the browser from fullscreen to windowed seems to fix the viewport issue. When switching back to fullscreen, it remains normal.