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

Feat: Add autofocus functionality to the Question's search box and ad… #1521

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

i-amansharma07
Copy link

@i-amansharma07 i-amansharma07 commented Oct 27, 2024

PR Fixes:

  • Added autoFocus prop to the Search Component so that when some page needs a searchbox with auto focus it can pass atoFocus={true}
  • Added autoFocus to the Questions Page so that students can directly search for the keyword they are looking for which saves an extra click
  • Added gap between search box and submit button which now looks cool btw

Checklist before requesting a review

  • I have performed a self-review of my code
  • I assure there is no similar/duplicate pull request regarding same issue

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.

1 participant