fix: restore glass + remove opacity animation to prevent backdrop-filter flash

This commit is contained in:
Usman Baig
2026-03-25 23:29:15 +01:00
parent 941dcd73ce
commit df286ab0e4

View File

@@ -384,14 +384,14 @@ export default function UnifiedSettingsModal() {
{/* Modal */}
<motion.div
initial={{ opacity: 0, scale: 0.97, y: 8 }}
animate={{ opacity: 1, scale: 1, y: 0 }}
exit={{ opacity: 0, scale: 0.97, y: 8 }}
initial={{ scale: 0.97, y: 8 }}
animate={{ scale: 1, y: 0 }}
exit={{ scale: 0.97, y: 8 }}
transition={{ type: 'spring', bounce: 0.15, duration: 0.35 }}
className="fixed inset-0 z-[61] flex items-center justify-center p-4 pointer-events-none"
>
<div
className="pointer-events-auto w-full max-w-3xl h-[85vh] bg-neutral-900 border border-white/[0.08] rounded-2xl shadow-xl shadow-black/20 flex flex-col overflow-hidden"
className="pointer-events-auto w-full max-w-3xl h-[85vh] bg-neutral-900/65 backdrop-blur-3xl backdrop-saturate-150 supports-[backdrop-filter]:bg-neutral-900/60 border border-white/[0.08] rounded-2xl shadow-xl shadow-black/20 flex flex-col overflow-hidden"
onClick={e => e.stopPropagation()}
>
{/* Header */}