LearnNewsExamplesServices
Frontmatter
id505
titleTouch events concept
stateClosed
labels
enhancementhelp wanteddiscussionstale
assignees[]
createdAtApr 24, 2020, 5:34 PM
updatedAtSep 28, 2024, 4:31 AM
githubUrlhttps://github.com/neomjs/neo/issues/505
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 28, 2024, 4:31 AM

Touch events concept

Closed v7.9.1/archive-v7-9-1-chunk-1 enhancementhelp wanteddiscussionstale
tobiu
tobiu commented on Apr 24, 2020, 5:34 PM

To be fair, I did not look at native touch-related browser events for many (5?) years.

Was thinking that at this point there will be events like swipe or rotate out of the box.

This assumption was naive, I did not even find proposals.

Took a quick look at:

https://github.com/hammerjs/hammer.js

And created a ticket, since (again) invalid import statements.

https://github.com/hammerjs/hammer.js/issues/1249

From the concept we do need something similar for neo. I would prefer to use global (doc.body) events and delegate them through the cmp-tree.

we can just pass the basic touch events from main to the app worker and add a manager class there which can map the touch based input into events which do make sense.

thoughts?

tobiu added the enhancement label on Apr 24, 2020, 5:34 PM
tobiu added the help wanted label on Apr 24, 2020, 5:34 PM
tobiu added the discussion label on Apr 24, 2020, 5:34 PM