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: Form summary page , press tab could not go Edit #3699

Merged
merged 170 commits into from
Nov 12, 2024
Merged

Conversation

athena-chen-chen
Copy link
Contributor

No description provided.

Shuang chen and others added 30 commits September 27, 2023 09:50
onClick={() => setPage(index + 1)}
data-testid={testId}
onKeyDown={(e) => {
if (!readOnly && (e.key === ' ' || e.key === 'Enter')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a thought, maybe we should refactor create a file with all the keys we use Enter, Tab, Space into its own const variable and export it instead of hard coding it.

I have the same issue and i just put it in the DropDownTypes.ts file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, I deeply agree, that will make code neat and easy to read.

@athena-chen-chen athena-chen-chen merged commit d321771 into main Nov 12, 2024
6 checks passed
@athena-chen-chen athena-chen-chen deleted the cs-3702 branch November 13, 2024 17:38
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