touch events not working
- Dominant language
- JavaScript
- Stars
- 688
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
None of the following touch events are firing at the moment, when set in bel:
`ontouchstart`
`ontouchmove`
`ontouchend`
`ontouchcancel`
Steps to reproduce (extending the minimal example):
```javascript
// list.js
var bel = require('bel');
var log = x => () => console.log(x)
module.exports = function (items) {
return bel`
- ${item} `
${items.map(function (item) {
return bel`
})}
}
// app.js
var createList = require('./list.js')
var list = createList([
'grizzly',
'polar',
'brown'
])
document.body.appendChild(list)
```
The pointer events are successfully called upon click, but not the touch ones.
What is weirder is the fact that (in console):
```javascript
document.querySelector('ul').ontouchstart;
// () => console.log(x)
```
returns a valid callback, but this callback - so it is indeed registered, just never fires.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.