diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-15 16:31:29 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-15 16:31:29 +0900 |
| commit | fde5b05ed7dd4c981ce24e026ca569ac1d44777c (patch) | |
| tree | bd07e4f7d8fc95cacdfce369dabff5142c42dcac /src | |
| parent | b3263b6fee31f43cf3db682fdcec010412f69038 (diff) | |
| download | kioku-fde5b05ed7dd4c981ce24e026ca569ac1d44777c.tar.gz kioku-fde5b05ed7dd4c981ce24e026ca569ac1d44777c.tar.zst kioku-fde5b05ed7dd4c981ce24e026ca569ac1d44777c.zip | |
fix(study): allow edit button click when card is flipped
The disabled attribute on the parent button element prevented all child
click events, making the edit button unresponsive on the back side.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/pages/StudyPage.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/pages/StudyPage.tsx b/src/client/pages/StudyPage.tsx index 247f782..2649069 100644 --- a/src/client/pages/StudyPage.tsx +++ b/src/client/pages/StudyPage.tsx @@ -415,7 +415,6 @@ function StudySession({ aria-label={ isFlipped ? "Card showing answer" : "Click to reveal answer" } - disabled={isFlipped} className={`relative flex-1 min-h-[280px] bg-white rounded-2xl border border-border/50 shadow-card p-8 flex flex-col items-center justify-center text-center transition-all duration-300 ${ !isFlipped ? "cursor-pointer hover:shadow-lg hover:border-primary/30 active:scale-[0.99]" |
