Closed mattsouth closed 9 years ago
Hi Matt,
I've pushed a fix for this to the develop branch. Thanks for letting us know.
Regards,
Alex
Looks good to me, the buttons now work on touch screens. I notice though, that the develop branch seems to have lost two useful behaviours on adding an edge:
Hi Matt,
Yes, these have been fixed. I'll push them to develop.
Cheers
It's on develop now.
Cheers
Yep that's done it.
thanks Alex
Hi Alex, I noticed something else with the touch interface now, not sure if it needs a new issue or not. It now takes two touches to place a node or an edge. The first touch does nothing and the second places the node or starts the edge.
Hi Matt,
I'll look into it. Is this only on touch devices or also on pc?
Regards,
Alex
Only on touch devices. I've seen this on an ipad (safari) and a windows tablet (chrome).
Hi Matt,
I'll see what we can do. We're doing a full rewrite of the network with Hammer 2.0 and rechecking all the behaviour. I'm not sure if this will make it in the 3.x versioning but we'll see what we can do.
Regards,
Alex
Hi Matt,
This has been fixed in v4 which we just released today!
Regards,
Alex
Hey thanks for the heads up Alex. Excellent news. I only just checkd github earlier this week to see how you were getting on. I'll check it out.
Matt
From: "Alex" notifications@github.com Sent: 22 May 2015 14:47 To: "almende/vis" vis@noreply.github.com Cc: "Matt South" matt@mattsouth.net Subject: Re: [vis] dataManipulation toolbar buttons not touchable (#653)
Hi Matt,
This has been fixed in v4 which we just released today!
Regards,
Alex
Reply to this email directly or view it on GitHub.
The buttons on the manipulation toolbar do not respond to touch events, see http://visjs.org/examples/network/21_data_manipulation.html for demo (on ipad and android). I can see onclick events bound to the buttons (e.g. lib/network/mixins/ManipulationMixin.js line 197) but no explicit touch handling.