보스 수익 계산기 카드 슬라이드업 애니메이션 복원 + GPU 힌트 강화
- initial y:30, duration 0.4 복원하되 will-change: transform, opacity 명시해 GPU 레이어 승격 확실히 - delay 0.03초 추가해 첫 프레임 레이아웃 안정화 후 애니메이션 시작 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f5c5c6927e
commit
670d8abc12
1 changed files with 4 additions and 4 deletions
|
|
@ -73,10 +73,10 @@ export default function BossCrystal() {
|
||||||
return (
|
return (
|
||||||
<motion.div
|
<motion.div
|
||||||
className="h-full"
|
className="h-full"
|
||||||
initial={{ opacity: 0 }}
|
initial={{ opacity: 0, y: 30 }}
|
||||||
animate={{ opacity: 1 }}
|
animate={{ opacity: 1, y: 0 }}
|
||||||
transition={{ duration: 0.3 }}
|
transition={{ duration: 0.4, delay: 0.03 }}
|
||||||
style={{ willChange: 'opacity' }}
|
style={{ willChange: 'transform, opacity' }}
|
||||||
>
|
>
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue