fix: what i messed up with bottomsheet

This commit is contained in:
Mahyar Khanbolooki
2025-08-08 20:59:44 +03:30
parent 0e67d02b5a
commit def37b93fd
3 changed files with 6 additions and 4 deletions
@@ -46,11 +46,12 @@ const AnimatedBottomSheet = ({ blurOpacity = 64, overrideClassName = '', showTit
dragElastic={0.05}
onDragEnd={onDrag}
data-visible={props.visible}
data-bg-opacity={blurOpacity}
className={clsx(
overrideClassName ?? '',
'absolute left-0 w-full rounded-t-4xl pt-[39px] pb-6',
'bottom-0',
blurOpacity ? `bg-container/${blurOpacity}` : 'bg-container'
'bg-container/64'
)}
initial="hidden"
animate={props.visible ? 'visible' : 'hidden'}