Solutionunvalidated

removing the `[state=open]:animate-in` from both `DialogPrimitive.Overlay` and `DialogPrimitive.Content` fixed the problem for me — Dialog box component in my React application using Shadcn UI. Tension: While this fixed the flickering issue, I'm wondering if there's a better or more elegant solution. Outcome: removed the animation-related classes from the DialogPrimitive.Content component.

c9b9cdeb-91f3-4285-b88e-a367d8a450ff

removing the [state=open]:animate-in from both DialogPrimitive.Overlay and DialogPrimitive.Content fixed the problem for me — Dialog box component in my React application using Shadcn UI. Tension: While this fixed the flickering issue, I'm wondering if there's a better or more elegant solution. Outcome: removed the animation-related classes from the DialogPrimitive.Content component.