fix: instant backdrop render prevents chart flash through glass modal
This commit is contained in:
@@ -376,12 +376,8 @@ export default function UnifiedSettingsModal() {
|
|||||||
<AnimatePresence>
|
<AnimatePresence>
|
||||||
{isOpen && (
|
{isOpen && (
|
||||||
<>
|
<>
|
||||||
{/* Backdrop */}
|
{/* Backdrop — no opacity animation to prevent chart flash through glass */}
|
||||||
<motion.div
|
<div
|
||||||
initial={{ opacity: 0 }}
|
|
||||||
animate={{ opacity: 1 }}
|
|
||||||
exit={{ opacity: 0 }}
|
|
||||||
transition={{ duration: 0.2 }}
|
|
||||||
className="fixed inset-0 z-[60] bg-black/60 backdrop-blur-sm"
|
className="fixed inset-0 z-[60] bg-black/60 backdrop-blur-sm"
|
||||||
onClick={handleBackdropClick}
|
onClick={handleBackdropClick}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user