-
Notifications
You must be signed in to change notification settings - Fork 2
Avoid triggering click event on key down, and set focus on search input after submit #20
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
Conversation
…and set focus on search input after submit)
dispatch | ||
); | ||
|
||
searchRef.current.focus(); |
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.
Can you add a comment here (and in the similar locations in the other files) regarding functionality e.g. "Switch focus to question text field"
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.
Sure. Comments added.
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
# needed for write access for deployment.sh | ||
RUN mkdir /tmp/proxy_temp && chmod 0757 /usr/share/nginx/html/ | ||
|
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.
what is this code below for?
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.
There's a mismatch between the feature branch's base and the PR base. These changes are from acl2023_demo.
Closed due to base branch mismatch. |
This PR fixes the behavior of triggering the request on any key down, implementing form submit behavior. Additionally, sets the focus on the search input after submitting. Implemented in Retrieval, Reading and QA.