ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI
MIT License
16.28k stars 1.52k forks source link

Can't type / character anywhere in UI #344

Closed Bratzmeister closed 2 months ago

Bratzmeister commented 2 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce

  1. go to any input field in the webui (search, settings, ...)
  2. try to type /
  3. be surprised nothing happens
  4. copy string including / from other source
  5. ctrl+v
  6. it works...
  7. create issue on github

Expected behavior that I don't need to copy+paste the / character from elsewhere and can just type it

Additional context obviously it's working everywhere else. I tried multiple keymaps (English US, English US intl., German, Norwegian) and always / is not typed. I'm using latest firefox browser

antistereov commented 2 months ago

This issue is probably related to issue #213 and commit https://github.com/ItzCrazyKns/Perplexica/commit/9a96fd4788e5bfaa15f74ac5e42184184364c4c1

A possible solution could be to only focus the textbox if it is not yet focused.

ItzCrazyKns commented 2 months ago

Fixed by https://github.com/ItzCrazyKns/Perplexica/commit/c4f52adb456d16ddc957edeafa82de27c3a9f953