MaxLeiter / Drift

Drift is a self-hostable Gist and paste service. Built with Next.js 13 and React Server Components.
https://drift.lol
MIT License
1.36k stars 60 forks source link

Dark mode client flash effect when opening on the browser #55

Closed Bakhtiyar-Garashov closed 1 year ago

Bakhtiyar-Garashov commented 2 years ago

Describe the bug

A flash effect (quick transition to black from white) happens when opening the client in browser

To Reproduce Steps to reproduce the behavior:

  1. Open in dark mode
  2. Reload page multiple times

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

MaxLeiter commented 2 years ago

Thanks for the report. I believe this is an issue with geist-ui, so either we'll need to upstream a fix or go with #3