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.

I’m seeing this weird behaviour that happens only on the Brave browser:

https://user-images.githubusercontent.com/69383359/154618225-ea7a7a7e-177d-4d27-9ae4-04ef3b5c4707.mov

I don’t think I’m doing anything weird, just:

import Head from "next/head";
import type { AppProps } from "next/app";
import { ThemeProvider } from "next-themes";
import { theme, darkTheme, globalStyles } from "stitches.config";
import { Page } from "@components/Page";

function MyApp({ Component, pageProps }: AppProps) {
  globalStyles();
  return (
    <ThemeProvider
      disableTransitionOnChange
      attribute="class"
      value={{ light: theme, dark: darkTheme }}
      defaultTheme="system"
    >
      <Head>
        <meta
          name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1"
        />
      </Head>
      <Page>
        <Component {...pageProps} />
      </Page>
    </ThemeProvider>
  );
}

export default MyApp;

If anyone has any idea what’s going on it would be great !

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
kevinzunigacuellarcommented, Feb 28, 2022

I have the same issue, I am using version 0.1.1 and chrome 98. Downgrading to 0.0.15 worked btw 👍🏼

0reactions
pacocourseycommented, May 5, 2022

Closing as duplicate to #90. Planning to release v0.2 soon that shouldn’t have any flashing issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flash - Flexible MultiPurpose Responsive WordPress Theme
Flash is the easiest, most flexible, feature-rich and advanced free multipurpose WordPress theme we offer. Our base of active users for this theme...
Read more >
Flashing Theme - song and lyrics by DJ Ayres - Spotify
Flashing Theme. DJ Ayres. 3:25. Gave You Love. Rampage, Nader. 7:00. Knockin Boots - Dooze Jackers Remix. Torro Torro, Dooze Jackers.
Read more >
Flash - WordPress theme
Flash is free responsive multipurpose WordPress theme – truly a versatile theme perfect for any type of website you want.
Read more >
Light/dark mode: avoid flickering on reload
In my opinion, when dealing with themes, avoiding flickering on load is one of the most important things to care about.
Read more >
Flash of inAccurate coloR Theme (FART) - CSS-Tricks
There is a lot to think about when implementing a dark mode theme on a website. We have a huge guide on it....
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