<Link
key={tag.id}
replace={true}
href={{
query: createQueryString("tags", tag.id.toString())
}}
className="group relative inline-flex -m-2 p-2"
>
<div className="absolute inset-0 z-10"></div>
<Checkbox
value={tag.id.toString()}
isSelected={tagsQuery?.includes(tag.id.toString())}
radius={"sm"}
style={{position: "relative", backgroundColor: "transparent"}}
classNames={{
icon: "group-active:opacity-100 after:group-active:scale-100 after:group-active:opacity-100"
}}
className={"text-body font-body"}
/>
</Link>
Even with trying to change the order like putting group-active:after, it still does not work for me. Hopefully, I can come up with a solution to resolve this issue.