Skip to content

Commit 851661a

Browse files
add onKeyDown and onClick handlers
Signed-off-by: Rudransh Shrivastava <rudransh.shrivastava@owasp.org>
1 parent 00d45e7 commit 851661a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • frontend/src/app/board/[year]/candidates/[login]/claims

frontend/src/app/board/[year]/candidates/[login]/claims/page.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ const ClaimItem = ({
9393
e.stopPropagation()
9494
dragListeners?.onPointerDown?.(e)
9595
}}
96+
onKeyDown={(e) => {
97+
e.stopPropagation()
98+
dragListeners?.onKeyDown?.(e)
99+
}}
100+
onClick={(e) => {
101+
e.stopPropagation()
102+
}}
96103
>
97104
<FaGripVertical className="text-gray-400 dark:text-gray-500" size={24} />
98105
</div>

0 commit comments

Comments
 (0)