Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gcds-error-summary): focusing gcds element from manual error-links list #666

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

ethanWallace
Copy link
Collaborator

Summary | Résumé

As highlighted in #664, GC Design System form elements were not focusing when error links were clicked from manually entered list with error-links property. Modified logic to not call scrollIntoView() if no label is found, this logic is meant for non-gcds form elements.

@ethanWallace ethanWallace merged commit 290e271 into main Oct 9, 2024
3 checks passed
@ethanWallace ethanWallace deleted the fix/error-summary-focus branch October 9, 2024 20:21
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.

2 participants