Skip to content

Commit

Permalink
feat: detail페이지의 사용자 참석 리스트를 드래그하지 못하도록 수정 (MemberList.tsx)
Browse files Browse the repository at this point in the history
사용자의 참석 리스트를 확인하지 못하도록 드래그를 방지하기 위해 user-select를 none으로 설정
이는 블러 처리했을 때 사용자의 참여 여부를 확인하지 못하도록 하는 정책에 맞추기 위한 변경이다.
추가적으로 유저의 사용성을 높이기 위해 게스트 모드가 아니어도 드래그가 되지 않도록 하여 예측 가능성을 높혔다.
  • Loading branch information
geongyu09 committed May 3, 2024
1 parent 8fb16b5 commit e5ada64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FE/src/components/common/MemberList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const MemberList = ({ members, blur = false }: MemberListProps) => {

const MemberListItem = ({ name }: Omit<SimpleMemberInfo, "memberId">) => {
return (
<div className="grid w-fit grid-cols-1 justify-items-center px-4 py-6 text-lg">
<div className="grid w-fit cursor-default select-none grid-cols-1 justify-items-center px-4 py-6 text-lg">
<span>{name}</span>
</div>
);
Expand Down

0 comments on commit e5ada64

Please sign in to comment.