From 547a533e8bb2d6735090447e08b4207f98f2927e Mon Sep 17 00:00:00 2001 From: hyungi Date: Sun, 7 Jun 2026 16:22:34 +0900 Subject: [PATCH] =?UTF-8?q?fix(study):=20=EB=B3=B5=EC=8A=B5=ED=95=A8=20?= =?UTF-8?q?=ED=83=AD=20=EC=A0=84=ED=99=98=20=EC=8B=9C=20=EC=84=A0=ED=83=9D?= =?UTF-8?q?=20=EC=B4=88=EA=B8=B0=ED=99=94=20(=ED=83=AD=EB=B3=84=20?= =?UTF-8?q?=EB=8F=85=EB=A6=BD=20=EC=84=A0=ED=83=9D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 검토 지적: 탭 바꿔도 selected 잔존 → 탭별 독립 선택으로 setTab 에서 selected={} 리셋. (선택 복습은 이미 현재 탭 shown 기준이라 데이터 오염은 없었고 UX 정합 개선.) Co-Authored-By: Claude Opus 4.8 (1M context) --- frontend/src/routes/study/review-box/+page.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/routes/study/review-box/+page.svelte b/frontend/src/routes/study/review-box/+page.svelte index acb0f8c..7a4d95a 100644 --- a/frontend/src/routes/study/review-box/+page.svelte +++ b/frontend/src/routes/study/review-box/+page.svelte @@ -69,7 +69,8 @@ } function setTab(t) { - if (t === 'done') return; // 완료 탭은 백엔드 준비 전 비활성 + if (t === 'done' || t === tab) return; // 완료 탭은 백엔드 준비 전 비활성 + selected = {}; // 탭 전환 시 선택 초기화 — 탭별 독립 선택(선택 복습은 현재 탭 기준) tab = t; }