fix(ui): prevent chat-info attachment menu clicks from closing panel
Some checks are pending
CI / test (push) Has started running
Some checks are pending
CI / test (push) Has started running
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user