bitovi / bitovi/syn

Is it possible to combine clicks with keyboard events?

Open
#83 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
441
Forks
254
PR merge metrics
No merged PRs in 30d

Description

I'm trying to test a multi-select component, where if you shift-click on options, you can select multiple options. I've tried this:

```
syn.type(select1.children[0].domNode, "[shift]")
syn.click(select1.children[0].domNode)
syn.type(select1.children[0].domNode, "[shift-up]", function() {
console.log("donezo")
})
```

But it doesn't seem to work. The click happens, but the shift doesn't seem to be incorporated. is it currently possible to do what i'm trying to do?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.