Skip to content

fix: blink on dark theme#1260

Merged
dgarcia360 merged 1 commit intoscylladb:masterfrom
dgarcia360:fix-blink
Oct 18, 2024
Merged

fix: blink on dark theme#1260
dgarcia360 merged 1 commit intoscylladb:masterfrom
dgarcia360:fix-blink

Conversation

@dgarcia360
Copy link
Copy Markdown
Collaborator

Closes #1218

Hides the html main component until the theme mode is resolved.

How to test

  1. Clone the PR.
  2. Build the docs and open the URL in incognito mode or clean cache.
  3. Navigate between pages. It shouldn't blink.

@annastuchlik
Copy link
Copy Markdown
Collaborator

@dgarcia360 I've checked 25+ pages, and most of them behaved as expected. However, two or three pages did blink (in incognito, with clean cache), but it's hard to define a rule on which ones did.
My suggestion would be to merge this PR and check the behavior on other projects.

@dgarcia360 dgarcia360 merged commit 4412c8a into scylladb:master Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Brief flash of light mode when navigating between pages in dark mode

2 participants