fix(ui): prevent chat-info attachment menu clicks from closing panel
Some checks are pending
CI / test (push) Has started running

This commit is contained in:
2026-03-08 20:14:24 +03:00
parent 7453e1ec06
commit 60e5225c80

View File

@@ -706,6 +706,7 @@ export function ChatInfoPanel({ chatId, open, onClose }: Props) {
<div
className="fixed z-[130] w-44 rounded-lg border border-slate-700/90 bg-slate-900/95 p-1 shadow-2xl"
style={{ left: attachmentCtx.x, top: attachmentCtx.y }}
onClick={(event) => event.stopPropagation()}
>
<a className="block rounded px-2 py-1.5 text-sm hover:bg-slate-800" href={attachmentCtx.url} rel="noreferrer" target="_blank">
Open