mirror of
https://github.com/documenso/documenso.git
synced 2026-10-04 18:54:00 +10:00
The dialog kept its draft signature in state across open/close, while the pad inside remounts from the saved value. After cancelling, reopening showed the saved signature (or an empty pad), but the Next button stayed enabled and committed the discarded draft. Reset the draft to the saved value whenever the dialog opens or closes, and route all open-state changes through one disabled-aware handler.