GithubHelp home page GithubHelp logo

Control+Shift+(key) doesn't work about hotkey HOT 6 CLOSED

github avatar github commented on June 3, 2024
Control+Shift+(key) doesn't work

from hotkey.

Comments (6)

keithamus avatar keithamus commented on June 3, 2024 3

Oh yeaaaah! Thanks for tracking that down @smridge. It's been a while since we visited this code so I had forgotten that's the behaviour.

I'll close this - given that @smridge has the solution. If it doesnt work for you @fatkhanfauzi please let me know and I'll re-open this ticket!

from hotkey.

smridge avatar smridge commented on June 3, 2024 2

@fatkhanfauzi I initially had this issue as well and realized I needed to remove Shift+ and replace with an uppercase letter as explained in https://github.com/github/hotkey/blob/main/src/hotkey.ts

Control+Shift+s corrected to Control+S solved.

from hotkey.

keithamus avatar keithamus commented on June 3, 2024

Hey @fatkhanfauzi thanks for the issue

What element are you adding the attribute to? Can you show us some of the code you have? Does install get called? Do other shortcuts work but those don’t? Do shortcuts work on other elements but not this one?

from hotkey.

fatkhanfauzi avatar fatkhanfauzi commented on June 3, 2024

hi @keithamus

yeah, install gets called and it works on Command+Shift+p (mac).
just the combination of Control+Shift+(key) that doesn't work.

However, it's weird when I added those keys to the unit tests, it doesn't raise any error.
Thanks

from hotkey.

keithamus avatar keithamus commented on June 3, 2024

You may find the browser is overriding the script behaviour.

from hotkey.

fatkhanfauzi avatar fatkhanfauzi commented on June 3, 2024

not sure, as it doesn't work not only in chrome but also in firefox

from hotkey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.