Skip to content

FORMS-24462 : Support for Scribble Signature component in React Vanilla components#169

Merged
armaang1729 merged 8 commits intomainfrom
FORMS-24462
Apr 2, 2026
Merged

FORMS-24462 : Support for Scribble Signature component in React Vanilla components#169
armaang1729 merged 8 commits intomainfrom
FORMS-24462

Conversation

@armaang1729
Copy link
Copy Markdown
Collaborator

@armaang1729 armaang1729 commented Mar 17, 2026

Support for Scribble Signature component in React Vanilla components

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Copy Markdown

@sakshi-arora1 sakshi-arora1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Review: Scribble Signature Component

Overall this is a solid new component with good test coverage and proper BEM structure. Below are inline comments on issues I found — mostly around accessibility, performance, and correctness.

Armaan Gupta added 5 commits March 27, 2026 10:46
- Use typed placeholder and destructured dispatchChange (no any cast)
- Sync signature from value via functional setState; only when value is string
- Clear message timers on unmount and when dismissing messages manually
- Track canvas strokes with canvasDrawnRef to skip full-pixel isCanvasEmpty scan
- Add aria-level on dialog header; keyboard-accessible signed area (role=button)
- Associate label with id-widget on signed container; avoid nested buttons

Made-with: Cursor
@armaang1729 armaang1729 merged commit 8a0bf0c into main Apr 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants