OS의 라이트/다크 모드와 토글 모드가 일치하지 않을 때 잘못된 로고가 표시됩니다

Hello, after setting up the dark and light color schemes, this feature works correctly. However, when switching from the dark theme to the light theme using the toggle and scrolling down on the topic page to switch to the mobile logo the logo does not match the color scheme. Similarly, when scrolling back up to display the full logo again, the wrong logo is shown. This issue occurs in the light theme. How can I solve this problem?

Edit: potentially related to Problem with brand logo and automatic dark mode

6개의 좋아요

Yes, I’m having the same problem here.

2개의 좋아요

I can confirm the same issue.
When the OS dark/light mode is different than the toggle mode, after scrolling up and down, things go wrong.

OS Mode Toggle Mode After scrolling
light light :white_check_mark:
light dark :scream: light logo instead of dark logo, both big and small
dark light :scream: dark logo instead of light logo, both big and small
dark dark :white_check_mark: short flash of light small logo instead of dark small logo
5개의 좋아요

@bekircem님과 @RGJ님, 보고해 주셔서 감사합니다. 메타에서 직접 재현해 볼 수 있었습니다. 확인해 보겠습니다.

관련된 게시글을 Contribute > Bug 채널의 새 토픽으로 분리하고, Richard님의 게시글에 설명된 각 사례의 동작 방식을 보여주기 위한 스크린캐스트를 제작했습니다. OS 모드가 토글 모드와 일치하지 않으면, 처음에는 올바른 로고가 표시되지만 사이트를 스크롤하고 여기저기를 클릭하면서 잘못된 로고로 바뀌어 표시됩니다.

6개의 좋아요

Osama fixed this bug in the following PR.

https://github.com/discourse/discourse-color-scheme-toggle/pull/57

8개의 좋아요

I set a close timer on this, can we confirm it is resolved?

2개의 좋아요

I fiddled with this here on meta and on my own site. On my own site it appears to be working correctly but I am still getting the same issue here on meta.

3개의 좋아요

This topic was automatically closed after 3 days. New replies are no longer allowed.