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

docs.slint.dev site hijacks Cmd+K #7879

Open
inferiorhumanorgans opened this issue Mar 18, 2025 · 1 comment
Open

docs.slint.dev site hijacks Cmd+K #7879

inferiorhumanorgans opened this issue Mar 18, 2025 · 1 comment
Assignees
Labels
a:documentation Improvements or additions to documentation (infrastructure and text itself) (mN,bS) bug Something isn't working

Comments

@inferiorhumanorgans
Copy link

Bug Description

The Firefox search bar is inaccessible while the Slint web site is loaded.

Reproducible Code (if applicable)

Visit docs.slint.dev.

Decide to search for something not on the Slint web site and hit Cmd-K.  Hit Cmd-K again in the hopes that Slint is similar to Discourse.  Nope.  Where Discourse graciously allows users to actually use their browser, Slint does not.

Environment Details

  • Slint Version: Any
  • Platform/OS: Firefox
  • Programming Language: Any
  • Backend/Renderer: Firefox

Product Impact

No response

@inferiorhumanorgans inferiorhumanorgans added bug Something isn't working need triaging Issue that the owner of the area still need to triage labels Mar 18, 2025
@ogoffart ogoffart added the a:documentation Improvements or additions to documentation (infrastructure and text itself) (mN,bS) label Mar 18, 2025
@NigelBreslaw NigelBreslaw self-assigned this Mar 20, 2025
@NigelBreslaw
Copy link
Member

NigelBreslaw commented Mar 21, 2025

I'm sorry but for now there is no simple fix for this. The 'pagefind' component that is part of the docs framework isn't configurable. I did a google of other sites that use Pagefind or Angolia and it seems they all hijack ctrl + k.

I will take a look next week to see if I can inject a script that detects firefox and stops ctrl + k taking effect. But if it isn't a quick and easy fix it will have to wait till pagefind or Astro Starlight offers config options.

@NigelBreslaw NigelBreslaw removed the need triaging Issue that the owner of the area still need to triage label Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:documentation Improvements or additions to documentation (infrastructure and text itself) (mN,bS) bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants