Commit f9fcaf6
committed
feat: add comprehensive Storybook examples for scroll-to-error functionality
- Created scroll-to-error.stories.tsx with hook and component examples
- Demonstrates both useScrollToErrorOnSubmit hook and ScrollToErrorOnSubmit component
- Includes comprehensive form with multiple sections for scroll testing
- Added interactive test scenarios for validation and success cases
- Fixed TypeScript issues and accessibility concerns
- Optimized performance with regex constants1 parent 2bd7d49 commit f9fcaf6
3 files changed
Lines changed: 1864 additions & 1252 deletions
File tree
- apps/docs/src/remix-hook-form
- packages/components/src/remix-hook-form/hooks
0 commit comments