-
Notifications
You must be signed in to change notification settings - Fork 738
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 keypad and tab navigation issues in exercises #12513
Fix keypad and tab navigation issues in exercises #12513
Conversation
onDismiss: () => renderer && renderer.blur(), | ||
onAnalyticsEvent: async () => {}, | ||
onClick: () => {}, |
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.
Is adding onClick
specifically here allowing the click events to propagate properly?
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.
Hrm, that might be unnecessary - it was definitely one of the things I tried. Will double check.
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.
Yes, it is unnecessary, removing.
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.
Updated.
Build Artifacts
|
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.
Code changes seem reasonable to me -- will wait for Radina's QA approval
Tested on a practice quiz too, both buttons are keyboard navigable, and mouse navigable, even when obscured by the keypad: practice-quiz2.mp4 |
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.
LGTM! 👍🏽 💯
69242d3
into
learningequality:release-v0.17.x
Summary
References
Bug reported on slack
Issue observed while manually testing fix
Reviewer guidance
Ensure that the keypad is still completely usable.
Ensure that the 'Check' button can be clicked while the keypad is open.
Ensure that using keyboard navigation to press the check button keeps the next button focused if the answer was correct.
Ensure that pressing enter while the question is in focus and correct causes the next button to display focused.
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)