Can't command+click
See original GitHub issueVersion
"@nut-tree/nut-js": "^1.7.0",
Short overview
This is my code
async function main() {
await nut.sleep(2000)
await nut.keyboard.pressKey(nut.Key.LeftSuper)
await nut.mouse.leftClick()
await nut.keyboard.releaseKey(nut.Key.LeftSuper)
}
main()
And I have a codepen with this:
document.addEventListener("click", event => {
console.log(
"click",
event.metaKey
)
});
document.addEventListener("keydown", event => {
console.log(
"keydown",
event.key,
event.metaKey
)
});
document.addEventListener("keyup", event => {
console.log(
"keyup",
event.key,
event.metaKey
)
});
And I’m seeing:
"click" false
"keyup" "Meta" false
Issue occurs on
- Virtual machine
- Docker container
- Dev/Host system
Detailed error description
Steps to reproduce error
Additional content
Please provide any (mandatory) additional data to reproduce the error (Dockerfiles etc.)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Command + tap-to-click not working proper…
I have tap = click enabled for my trackpad, but whenever I use the cmd key in combination with it behavior becomes flaky....
Read more >Command + Click not opening links in new tabs
Strangely, Command + Click has stopped opening links in new tabs on my computer. It opens them in the same tab, as if...
Read more >Why can't I COMMAND+click a method call to go to it's ...
On OS X with 2.0 Beta 3: Several of us are using RubyMine in the office. They can press COMMAND and then mouse-over...
Read more >Can't command-click in Windows
I am using Safari in Windows. It is possible to ctrl-right click on text to make it smaller, but not to Command-right click...
Read more >Enabling Command-Click - Blizzard Support - Battle.net
Log in to World of Warcraft. Press the Escape key to open the menu. Select Options. Select Controls and check Interact On Left...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ccorcos Thanks for verifying (and your patience 😂). Will publish a patch release soonish
Both work! 🎉
https://github.com/ccorcos/nut-js-tests
cc @tanishqkancharla