Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any thought about handling touch events? #1

Open
davidascher opened this issue Mar 17, 2013 · 5 comments
Open

Any thought about handling touch events? #1

davidascher opened this issue Mar 17, 2013 · 5 comments

Comments

@davidascher
Copy link

I'm wondering whether you think handling touch events (e.g. swipes) is in scope for something like slidebox?

@fwenzel
Copy link

fwenzel commented Mar 17, 2013

I think that'd make it a lot more attractive for use in mobile apps, so, yes. But @csuwldcat and @pennyfx have spent a lot more time thinking about x-tags so I'll ultimately defer to their wisdom here :)

@csuwildcat
Copy link
Member

We should definitely add touch to every clickable tag. We have basic
mapping of click to touch for simple events, but there's a bugzilla ticket
that specs more advanced touch support for gestures like swipe that are
needed for tags like this. I'll dig up the ticket and we can get it
assigned (as priority allows).
On Mar 17, 2013 10:21 AM, "Fred Wenzel" [email protected] wrote:

I think that'd make it a lot more attractive for use in mobile apps, so,
yes. But @csuwldcat https://github.com/csuwldcat and @pennyfxhttps://github.com/pennyfxhave spent a lot more time thinking about x-tags so I'll ultimately defer
to their wisdom here :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-15026618
.

@davidascher
Copy link
Author

I expect you already know this, but
http://eightmedia.github.com/hammer.js/could be useful to bridge
x-browser issues.

@davidascher
Copy link
Author

BTW - playing w/ hammerjs, i easily to swipe events to lead to slides; but I also quickly realized that in some scenarios I really want to react to drags, which I can't really do w/o teaching slidebox about partial drags. It might be really nice to build into slidebox an event that says "drag horizontally N pixels", and on dragEnd, have the slidebox component figure out whether to "finish" the slide, or to revert to the current position based on where the drag ended relative to a full slide.

Hopefully the above makes sense to you =).

@csuwildcat
Copy link
Member

Yeah, the touch/gestures I spec'd make this much easier. I'll see what we
can do to make this sort of thing generic and simple to add for component
authors.
On Mar 17, 2013 5:48 PM, "davidascher" [email protected] wrote:

BTW - playing w/ hammerjs, i easily to swipe events to lead to slides; but
I also quickly realized that in some scenarios I really want to react to
drags, which I can't really do w/o teaching slidebox about partial drags.
It might be really nice to build into slidebox an event that says "drag
horizontally N pixels", and on dragEnd, figure out whether to "finish" the
slide, or to revert to the current position based on where the drag ended
relative to a full slide.

Hopefully the above makes sense to you =).


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-15034803
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants