fix: remove fly-in animation from context menu submenus
This commit is contained in:
@@ -238,10 +238,7 @@ export function ContextMenuSubMenu({
|
|||||||
{isOpen && (
|
{isOpen && (
|
||||||
<div
|
<div
|
||||||
ref={subMenuRef}
|
ref={subMenuRef}
|
||||||
className={cn(
|
className="fixed z-50 min-w-[180px] bg-background rounded-md shadow-lg border border-border"
|
||||||
"fixed z-50 min-w-[180px] bg-background rounded-md shadow-lg border border-border",
|
|
||||||
"animate-in fade-in-0 zoom-in-95 duration-100"
|
|
||||||
)}
|
|
||||||
style={{
|
style={{
|
||||||
left: subMenuPos?.x ?? 0,
|
left: subMenuPos?.x ?? 0,
|
||||||
top: subMenuPos?.y ?? 0,
|
top: subMenuPos?.y ?? 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user