-
Notifications
You must be signed in to change notification settings - Fork 162
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
Support swipe-to-advance on iOS? #19
Comments
I agree that it works, but that is not how it works (i.e. behaves) on desktop. I was not descriptive enough, I'm sorry. What I was asking about was the swiping behaviour you see on desktop, as you correctly guessed. Had to ask, perhaps I was missing some configuration or similar to get it going. Thanks for the reply. |
I’ve updated description. This would be a nice feature, but it’s somewhat of a pain to implement page swiping on iOS. |
Sorry to intrude on the conversation, but I'm trying to use stack.js now on I want the simplest implementation of stack. Do I need to write a function On Fri, Jun 12, 2015 at 12:39 AM, patricioPanichelli <
Al Lemieux |
The only thing you need to do to get stack working is:
If you copied some of the other code from the example and deleted other parts I you may have broken something. That example demonstrates some more advanced features like using listeners to trigger behaviors such as animations. However, I can’t identify the problem without looking at your code. |
Mike, How do you have a slide wait for animations to complete before moving On Fri, Jun 12, 2015 at 11:50 AM, Mike Bostock [email protected]
Al Lemieux |
Here's the link: On Fri, Jun 12, 2015 at 11:50 AM, Mike Bostock [email protected]
Al Lemieux |
That’s a heavily modified version of Stack.js… it’s barely recognizable. Did you make those modifications and are asking me to help, or are you using someone else’s fork? In either case, I don’t think I can help because it goes too far beyond the original design and intent of this library. In particular, it uses scrolljacking to snap to slide boundaries, which goes against one of the primary motivations of this library. (See my How To Scroll essay for more.) I’d be okay with supporting swipe-to-advance on iOS, but that’s only because you can tell when the fingers are touching the input device and thus reliably discern swipe gestures. That’s not true on desktop. |
Mike, I figured it out. Must be someone's fork. I grabbed the code from another Thanks. On Fri, Jun 12, 2015 at 5:00 PM, Mike Bostock [email protected]
Al Lemieux |
I just tried Stack, and it's great. Congratulations. I've been using D3 for a while, and even though Stack is a minor thing next to D3, well... it is still great.
It is not a big issue for me, as most of my traffic is from desktop. But I was wondering if there is a quick workaround to make Stack work on iPad / iPhone.
Thanks
The text was updated successfully, but these errors were encountered: