fix: reduce stuttering when scroll, maybe

This commit is contained in:
Ou 2024-11-22 01:41:35 +08:00
parent 729b6febbf
commit f98d78b4c2

View File

@ -34,7 +34,8 @@ export const CardWrapper = forwardRef<HTMLElement, ItemsProps>(({ id, isDragging
ref={ref} ref={ref}
className={$( className={$(
"flex flex-col h-500px rounded-2xl p-4 cursor-default", "flex flex-col h-500px rounded-2xl p-4 cursor-default",
"backdrop-blur-5 transition-opacity-300", // "backdrop-blur-5",
"transition-opacity-300",
isDragging && "op-50", isDragging && "op-50",
`bg-${sources[id].color}-500 dark:bg-${sources[id].color} bg-op-40!`, `bg-${sources[id].color}-500 dark:bg-${sources[id].color} bg-op-40!`,
)} )}