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.

Pressing `command + P` changes the color mode from light to dark.

See original GitHub issue

Bug report

Describe the bug

When I press command + P the color mode switches from light to dark. I found this while working on a Chakra v1 project and thought it was my code, but I see it happening on the next.docs site as well, thus might be something else.

It looks like it only happens from light to dark. Not vice-versa.

To reproduce

  1. Go to https://next.chakra-ui.com/
  2. Assure you’re in color light mode
  3. Press (on Mac) command + P for the print panel to occur
  4. See error

Minimal reproduction

See above.

Expected behavior

The color mode should respect the color mode.

Screenshots

https://www.loom.com/share/5324cdfe88154db68eef39dbae633bab

System information

  • OS: macOS
  • Browser (if applies): Chrome
  • Version of @chakra-ui/core: 1.0.0-rc.3
  • Version of Node.js: v12.14.0

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
pedro-lbcommented, Sep 25, 2020

It’s happening on 1.0.0-rc.3, locally and in production.

Here’s a video (we’re on 2020 and GitHub doesn’t support embedding videos to commends 🤔 ): https://vimeo.com/461861805

0reactions
ljosberinncommented, Oct 28, 2020

Since this, for whatever reason, doesn’t happen anymore for me I guess it resolved itself and consider it a bug in Chrome 🤷‍♂️

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to switch between Light and Dark mode with shortcut on ...
Press the windows button on your keyboard, and start typing Task in the open space. Under Apps, you will see Task Scheduler, click...
Read more >
Use a light or dark appearance on your Mac - Apple Support
Select Light, Dark, or Auto on the right. Light is a light appearance that doesn't change. Dark is a dark appearance that doesn't...
Read more >
Toggle Dark Mode & Light Mode on Mac Quickly from Spotlight
How to Change Dark Mode or Light Mode from Spotlight in MacOS ... Open Spotlight as usual with Command + Spacebar, or by...
Read more >
How to change printing to color or B&W in Windows 10
Author, teacher, and talk show host Robert McMillen shows you how to change printing to color or B&W in Windows 10.
Read more >
How To Change Color in Photoshop - YouTube
Easy to follow, step-by-step tutorial showing how to change the color of anything in Photoshop!This tutorial will show you 5 examples of how ......
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