Backdrop blur not working on a specific element in Brave and Chrome

Hi. I am facing a strange issue here. This backdrop blur is working well on other elements and on this element as well on Firefox. It's just not working on this specific element on Brave and Chrome.
import Image from "next/image";
import React from "react";
import { motion } from "framer-motion";

type FindYourRideSubMenuLayoutProps = {
children: React.ReactNode;
heading: string;
icon: string;
};

const FindYourRideSubMenuLayout = ({
children,
heading,
icon,
}: FindYourRideSubMenuLayoutProps) => {
return (
<>
<div className="w-max min-w-max absolute right-[calc(100%+.5rem)] bg-white/30 backdrop-blur-md border border-white rounded-md text-white ~px-3/6 pt-2 pb-4 space-y-2 sm:w-auto">
<div className="flex items-center gap-2">
<span className="font-bold ~text-sm/lg">{heading}</span>
<Image
src={icon}
alt={heading}
width={24}
height={24}
className="~w-4/6 h-auto"
/>
</div>
{children}
</div>
</>
);
};

export default FindYourRideSubMenuLayout;
import Image from "next/image";
import React from "react";
import { motion } from "framer-motion";

type FindYourRideSubMenuLayoutProps = {
children: React.ReactNode;
heading: string;
icon: string;
};

const FindYourRideSubMenuLayout = ({
children,
heading,
icon,
}: FindYourRideSubMenuLayoutProps) => {
return (
<>
<div className="w-max min-w-max absolute right-[calc(100%+.5rem)] bg-white/30 backdrop-blur-md border border-white rounded-md text-white ~px-3/6 pt-2 pb-4 space-y-2 sm:w-auto">
<div className="flex items-center gap-2">
<span className="font-bold ~text-sm/lg">{heading}</span>
<Image
src={icon}
alt={heading}
width={24}
height={24}
className="~w-4/6 h-auto"
/>
</div>
{children}
</div>
</>
);
};

export default FindYourRideSubMenuLayout;
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server