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

Chrome Energy Saver Mode Problem #786

Open
vskavgaci opened this issue Apr 5, 2023 · 2 comments
Open

Chrome Energy Saver Mode Problem #786

vskavgaci opened this issue Apr 5, 2023 · 2 comments
Labels
nuxt 3 Nuxt 3 Support

Comments

@vskavgaci
Copy link

Describe the bug
Javascript not executing when Chrome Energy Saver Mode is active.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Chrome Settings and find Power section. enable Turn on when my computer is unplugged option.'
  2. Unplug power cable from your notebook
  3. Refresh nuxt page and find any of executable js method (@click, @blur or anything else)
  4. See no action

Expected behavior
On energy saver mode js methods should run

Desktop (please complete the following information):

  • OS: [e.g. MacOS]
  • Browser [e.g. chrome]

Any of js executable methods, plugins not loaded when speedkit is active on energy saver mode. If i disable nuxt-speedkit everything run as expected.

@ThornWalli
Copy link
Contributor

ThornWalli commented Apr 11, 2023

Hello @vskavgaci ,

Thanks for the hint 🙂

This shows that the check in the speedkit is selected correctly.
Reason for the blocking, are the reduced FPS in Energy Saver Mode.
https://developer.chrome.com/blog/memory-and-energy-saver-mode/#energy-saver-mode

This would be another case for the SpeedkitLayer to tell the user that he is in Energy Saver Mode and actively decides if he wants to load the energy consuming scripts.

@nathanielwarner
Copy link

This issue also affects Nuxt 2. It seems like hydration never happens if the user has Energy Save mode turned on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nuxt 3 Nuxt 3 Support
Projects
None yet
Development

No branches or pull requests

4 participants