mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-07 22:10:21 +08:00
fix: add context menu trigger to FloatingSidebar component
This commit is contained in:
parent
c1a81b88b0
commit
02a4f9b5f1
@ -63,7 +63,7 @@ const FloatingSidebar: FC<Props> = ({
|
|||||||
setOpen(visible)
|
setOpen(visible)
|
||||||
}}
|
}}
|
||||||
content={content}
|
content={content}
|
||||||
trigger={['hover', 'click']}
|
trigger={['hover', 'click', 'contextMenu']}
|
||||||
placement="bottomRight"
|
placement="bottomRight"
|
||||||
arrow={false}
|
arrow={false}
|
||||||
mouseEnterDelay={0.8} // 800ms delay before showing
|
mouseEnterDelay={0.8} // 800ms delay before showing
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user