Files
kithara-studio/frontend
rin.kagamine 6c926203f0 fix: ConfirmDialog uses forwardRef for React 18 compatibility
React 18 doesn't pass ref as a regular prop to function components — it
needs forwardRef. Without it, the <dialog> element never received the
ref, so showModal() had no target. Click icon, nothing happens.

This was the real bug behind 'click icon, nothing happens' — Gallery
was already using ConfirmDialog but the ref was silently null.
2026-05-31 11:12:10 -04:00
..