버그? discourse-category-banner 테마 컴포넌트가 배너를 표시하지 않는 경우가 있습니다

와, 이게 정확히 언제 일어나는 건지 파악하기 전까지는 내가 정신이 이상한 줄 알았어요…

여기 카테고리 배너가 있습니다. 이건 아무나(익명 방문자 포함) 볼 수 있는 카테고리예요. 사이트 내비게이션의 카테고리 드롭다운에서 이 카테고리를 선택하거나, 토픽 제목 아래에 있는 카테고리 라벨/박스를 클릭하면 이 배너가 표시됩니다. 이건 예상대로의 동작이죠:

하지만 그룹 기반 보안이 설정된 다른 카테고리가 하나 있습니다. 특히 "anyone"은 이 카테고리를 볼 수 없도록 설정되어 있어요. 카테고리로 이동하면(카테고리 드롭다운에서 선택하거나, 토픽 제목 아래의 카테고리 박스/라벨을 클릭하면) 배너가 표시되지 않아요:

브라우저에서 새로고침을 누르면 배너가 나타납니다. ¯\_(ツ)_/¯

참고로 저는 현재 관리자(Admin)로 로그인되어 있습니다. 일반 사용자(이 카테고리에 대해 보기 권한을 가진 그룹에 속한 1레벨 사용자)로 위장해도 동작은 동일합니다. 카테고리로 이동하면 배너가 없고, 새로고침을 누르면 배너가 나타납니다.

??

I can’t reproduce this on my test site?

I’ve installed discourse-category-banners, and created a private category accessible only to a specific group (+ filled out the category ‘about’ info).

When I navigate to the private category it always shows the category banner without needing a refresh.

Is there something else that could be affecting yours? (device, browser, other theme components?)

@craigconstantine
Same. I can confirm. Windows 10, Firefox 93

There’s lots of stuff that could be affecting mine… but without knowing what to look for . . .

But that did make me think to inspect the actual DOM in action… when I don’t see it, the banner is present, but the SPAN is empty. Notice not twist-to-reveal for the SPAN…

Once I press reload though, now the SPAN has a child DIV etc.…