mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 19:39:02 +08:00
Fix: event of click away in message-log-modal (#3828)
This commit is contained in:
parent
64f694865c
commit
3d14aba4b4
@ -52,7 +52,10 @@ const Base: FC<Props> = ({
|
|||||||
<div ref={ref} className={cn(className, isExpand && 'h-full', 'rounded-lg border', isFocus ? 'bg-white border-gray-200' : 'bg-gray-100 border-gray-100 overflow-hidden')}>
|
<div ref={ref} className={cn(className, isExpand && 'h-full', 'rounded-lg border', isFocus ? 'bg-white border-gray-200' : 'bg-gray-100 border-gray-100 overflow-hidden')}>
|
||||||
<div className='flex justify-between items-center h-7 pt-1 pl-3 pr-2'>
|
<div className='flex justify-between items-center h-7 pt-1 pl-3 pr-2'>
|
||||||
<div className='text-xs font-semibold text-gray-700'>{title}</div>
|
<div className='text-xs font-semibold text-gray-700'>{title}</div>
|
||||||
<div className='flex items-center' onClick={e => e.stopPropagation()}>
|
<div className='flex items-center' onClick={(e) => {
|
||||||
|
e.nativeEvent.stopImmediatePropagation()
|
||||||
|
e.stopPropagation()
|
||||||
|
}}>
|
||||||
{headerRight}
|
{headerRight}
|
||||||
{!isCopied
|
{!isCopied
|
||||||
? (
|
? (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user