수정: 반응 카운터를 길게 누르면 반응 선택기가 열리지 않아야 함

Enable new post reactions menu가 활성화되어 있을 때 버그가 존재합니다. 왼쪽의 discourse-reactions-actions-x-leftdiscourse-reactions-reaction-button이 동일한 컴포넌트를 공유하고 있기 때문입니다.

모바일 뷰에서 왼쪽 discourse-reactions-actions-x-left를 길게 누르면 의도치 않은 ReactionsPicker가 트리거되며, 콘솔에 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getBoundingClientRect') 오류와 반응하지 않는 피커 패널이 표시됩니다.

이 커밋에서는 이러한 문제를 방지하기 위해 이벤트를 .discourse-reactions-reaction-button 요소에 연결하도록 수정했습니다.

수정 전:

수정 후:

Meta에서의 모습:

비슷한 문제가 여기에도 있습니다. ref 추가: Ability to display all the likes/reactions on a post - #77 by Moin

PR은 여기 있습니다: FIX: long pressing reactions-counter shouldn't open ReactionsPicker - Pull Request #39774 - discourse/discourse - GitHub

3개의 좋아요

고맙습니다. PR을 병합했습니다! :hugs:

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