question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It is not possible to search by pressing the Enter key on the classroom page search bar

See original GitHub issue

Describe the bug It is not possible to search for lessons by pressing the enter key on the search bar on the classroom page.

To Reproduce Steps to reproduce the behavior:

  1. Go to the classroom page on the test server.
  2. Type something in the search bar which appears towards the bottom of the page
  3. Press ‘Enter’ on the keyboard
  4. Notice that the search is not started unless you ‘click’ on the search icon.

Observed behavior Pressing the enter key doesn’t start the search.

Expected behavior Pressing the enter key should start the search.

Possible steps to fix the issue

  1. Make sure you are able to run the Oppia dev server.
  2. Navigate to core/templates/pages/library-page/search-bar/search-bar.component.html and add an event to detect when the enter key is pressed.
  3. Program that event to trigger the search function when it detects the pressing of the enter key.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Lawful2002commented, Oct 2, 2022

@akshit5565 Sure! Assigning it you.

0reactions
SubhashThenuacommented, Oct 9, 2022

@Lawful2002 Can you please assign this to me ?

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to implement enter key press for search functionality on ...
how to implement enter key press for search functionality on lightning page? i have a search button which is working on the functionality ......
Read more >
IE8 - Enter key won't submit my search field - Stack Overflow
Hey guys, I have a search field that is not submitting when the enter key is hit, this issue is only happening on...
Read more >
<input type="search"> - HTML: HyperText Markup Language
<input> elements of type search are text fields designed for the user to enter search queries into. These are functionally identical to text ......
Read more >
Classroom Management Tools & Resources - Google for ...
Get started with Google Classroom, a central hub for tools and resources designed to help educators manage classrooms and enrich learning experiences.
Read more >
Banner Basics and Navigation - Staff
Press the Enter key on the keyboard. Object Search. Use Object Search to access a form, job, or QuickFlow with only part of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found