TheAlgorithms / website

The Algorithms website providing GitHub's largest open-source algorithm library.
https://the-algorithms.com
MIT License
819 stars 173 forks source link

[BUG] The search bar shows results even if the input is empty. #253

Closed ESAM-ALSAWAH closed 7 months ago

ESAM-ALSAWAH commented 1 year ago

Description of the bug

When I search, then remove the content from the input, it shows the result for the first character in the input.

Add screenshots of the bug (if applicable)

https://github.com/TheAlgorithms/website/assets/86329891/7e9b28f8-75bc-4c02-9e7e-632aa683a14c

Additional information/context

No response

ankit1016 commented 1 year ago

anyone is working on this issue?

ESAM-ALSAWAH commented 1 year ago

Yes I already worked on it and it is solved #254.

Ayush17112002 commented 11 months ago

@ESAM-ALSAWAH, it is still showing the results on empty search bar, is your PR not merged yet?