-
Notifications
You must be signed in to change notification settings - Fork 10
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
Conversation
…d time is before Start time
onClick={() => setPage(index + 1)} | ||
data-testid={testId} | ||
onKeyDown={(e) => { | ||
if (!readOnly && (e.key === ' ' || e.key === 'Enter')) { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
No description provided.