GoogleChrome / GoogleChrome/lighthouse
Score not recalculated correctly when switching device type in Lighthouse Score Calculator UI
- Dominant language
- JavaScript
- Stars
- 30.8k
- Forks
- 9.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 19
Description
### FAQ
- [x] Yes, my issue is not about [variability](https://github.com/GoogleChrome/lighthouse/blob/main/docs/variability.md) or [throttling](https://github.com/GoogleChrome/lighthouse/blob/main/docs/throttling.md).
- [x] Yes, my issue is not about a specific accessibility audit (file with [axe-core](https://github.com/dequelabs/axe-core) instead).
- [x] Yes, my issue is not answered by [other FAQs](https://github.com/GoogleChrome/lighthouse#faq).
### URL
https://googlechrome.github.io/lighthouse/scorecalc/
### What happened?
1. Go to the https://googlechrome.github.io/lighthouse/scorecalc/ select Device type to mobile and make the values to absolute max so that the score comes out to be the least
2. Now Switch the device type to desktop and see that the metric score becomes zero
3. Now try Increasing the metric score and notice that previously it was at 0 but now its only going 1 to the least
Now notice that the least I'm now allowed is to go only 1
And this is happening with almost all of the selections
### What did you expect?
When switching Device type from mobile to desktop It should switch back to the default minimum limit according to the desktop's limitation and make sure it doesn't go below the limit
### What have you tried?
Currently None
### How were you running Lighthouse?
Other, Chrome DevTools
### Lighthouse Version
Latest
### Chrome Version
138.0.7204.169
### Node Version
_No response_
### OS
Windows
### Relevant log output
```sh
```
Contributor guide
Assessment
This issue has not been assessed yet.