nus-cs2103-AY2324S1 / forum

10 stars 0 forks source link

Local host course website, pressing control + K still does google search #560

Open MagnificentCreature opened 9 months ago

MagnificentCreature commented 9 months ago

I have followed the steps listed here image

But after running the website, when I try to do control + K to search I do not get the search bar, instead Google search prompt becomes active.

damithc commented 9 months ago

@MagnificentCreature When the website is using the third-party search service, Ctrl+K is captured and handled by that service. But when using the local search, Ctrl+K is handled by the Browser instead, which falls back on the default Browser behavior. So, you need to click on the search box instead of using Ctrl+K.

MagnificentCreature commented 9 months ago

image Is it weird I don't see a search box?

damithc commented 9 months ago

@MagnificentCreature did you switch to the cs2103 branch?

damithc commented 9 months ago

You should see this instead:

image

MagnificentCreature commented 9 months ago

It says I already am on the branch, but its okay, I'll just do with this