fixed red border in safari and bluriness in chrome

This commit is contained in:
corgifist 2025-08-03 01:04:30 +03:00
parent e2f4c023c1
commit 6964b16633

View File

@ -245,13 +245,10 @@ const SwipeToDelete: FC<SwipeToDeleteProps> = ({
style={{ style={{
position: 'relative', position: 'relative',
inset: 0, inset: 0,
transform: `translateX(calc(${dragX}px - 0.5px))`, transform: `translateX(${Math.floor(dragX)}px)`,
transition: dragging transition: dragging
? '' ? ''
: 'transform 300ms cubic-bezier(0.24, 1.04, 0.56, 1)', : 'transform 300ms cubic-bezier(0.24, 1.04, 0.56, 1)'
willChange: 'transform',
backfaceVisibility: 'hidden',
transformStyle: 'preserve-3d'
}} }}
> >
{children} {children}