question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest release(4.9.13) causes flickering effect

See original GitHub issue
  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

image

When opening the page, the screen flickers as if css is not loaded, then turns back to normal after a few seconds.

Demo: https://oi-wiki-ng-pr-172.onrender.com/

Expected Behavior 🤔

One would expect that no flickering artifact appears here.

Demo: https://ng.oi-wiki.org/

Steps to Reproduce 🕹

We’re currently using gatsby and this happens in gatsby build results. It’s quite different from SSR in the material-ui docs because in our case the pages are generated on servers and remain static.

https://github.com/OI-wiki/oi-wiki-ng/commit/27d37be8b925b4fff29e7eae59f0f6d3246df711

You can find out that we reverted to v4.9.12 to solve this issue.

Context 🔦

Your Environment 🌎

Tech Version
Material-UI 4.9.13
React 16.13.1
Gatsby 2.21.13

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
oliviertassinaricommented, May 6, 2020

Make sure you don’t have a duplicate version of @material-ui/styles.

1reaction
Ir1dcommented, May 6, 2020

Hi @oliviertassinari ,the problem is now somehow solved after removing the styles from the dependency. Thanks for saving our day, we’ve been debugging this for over 10 hours.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Latest release(4.9.13) causes flickering effect #20932 - GitHub
When opening the page, the screen flickers as if css is not loaded, then turns back to normal after a few seconds. Demo:...
Read more >
Ask Question - Ask Ubuntu
However, while fixing the screen flickering/tearing, this "solution" causes the fan to run constantly (as in it never, ever turns off) and at...
Read more >
How to beat the flickering caused by a light when recording a ...
The flicker is caused by the fact that the lights strobe at the line frequency of the electrical power. If the frame rate...
Read more >
4.9.13 - Release Status
Bug 1993931: Storage operators use older kubernetes client #138 · Bug 1990146: some controllers missing livenessProbe #134 · Use generic deployment controller ...
Read more >
Fix screen flickering in Windows - Microsoft Support
Start your PC in safe mode, then select and hold (or right-click) Start and select Device Manager.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found