fix: ui fixes in emoji picker

This commit is contained in:
gosangam
2026-06-13 02:53:25 +05:30
parent 9e68184750
commit 397a09e814
2 changed files with 74 additions and 51 deletions
+4 -1
View File
@@ -97,7 +97,10 @@ export function CommentMenu({
ref={menuRef}
role="menu"
style={{ position: "fixed", top: pos.top, right: pos.right }}
className="z-[101] min-w-40 rounded-lg border border-border bg-card shadow-lg py-1 animate-in fade-in-0 zoom-in-95"
// pointer-events-auto: the comments drawer is modal (vaul sets
// body { pointer-events: none } while open); this portaled menu
// would be click-through without re-enabling it here.
className="pointer-events-auto z-[101] min-w-40 rounded-lg border border-border bg-card shadow-lg py-1 animate-in fade-in-0 zoom-in-95"
>
{canPin ? (
<MenuItem