News for hackers. Stuff that matters.
Re:Show HN: Swipe-to-delete goodness for the mobile web by sethbannon on Monday February 18, 2013 @03:18PM (#5240371)
Super cool. Small issue: if you swipe one entry, then immediately swipe another, it only cancels the first swipe. You have to swipe a second time to bring up the delete option. Seems like it should both cancel the first swipe and bring up the delete option at once.
Re:Show HN: Swipe-to-delete goodness for the mobile web by akane on Monday February 18, 2013 @03:37PM (#5240481)
Right now, it's implemented just like the iOS mail app. Your suggestion sounds more intuitive though. I'm curious to hear if others feel the same way.
Re:Show HN: Swipe-to-delete goodness for the mobile web by jsloat on Monday February 18, 2013 @03:47PM (#5240538)
That was my initial reaction as well. Cool project!
Re:Show HN: Swipe-to-delete goodness for the mobile web by hayksaakian on Monday February 18, 2013 @03:31PM (#5240443)
I'd hesitate on implementing this. What kind of discoverability does this have? Do er simple assume all our users have been trained in this technique by others?
Re:Show HN: Swipe-to-delete goodness for the mobile web by akane on Monday February 18, 2013 @04:57PM (#5240999)
Yes, this assumes users are aware of the swipe-to-delete paradigm. I would still recommend adding a delete option in a more obvious place for each item.
Re:Show HN: Swipe-to-delete goodness for the mobile web by ferongr on Monday February 18, 2013 @03:20PM (#5240378)
Webkit only :(

Misses CSS rules and a transform (AFAICT) for Gecko, Presto (RIP) and Trident.

Re:Show HN: Swipe-to-delete goodness for the mobile web by akane on Monday February 18, 2013 @03:35PM (#5240463)
My bad, updated it to include other browsers.
Re:Show HN: Swipe-to-delete goodness for the mobile web by ferongr on Monday February 18, 2013 @03:51PM (#5240554)
Tested on Firefox for Android Nightly and it seems to work great.
Re:Show HN: Swipe-to-delete goodness for the mobile web by nsp on Monday February 18, 2013 @03:06PM (#5240307)
This is fantastic - feels native (iPhone 5, iOS 6.1). Semi related: does anyone know of a good js library for displaying side navigation(a la face books app) or detecting swipes from the edge of the screen?
Re:Show HN: Swipe-to-delete goodness for the mobile web by akane on Monday February 18, 2013 @03:38PM (#5240487)
Glad you like it :) You should be able to accomplish edge swipe detection with Hammer.js http://eightmedia.github.com/hammer.js/
Re:Show HN: Swipe-to-delete goodness for the mobile web by CrazedGeek on Monday February 18, 2013 @03:22PM (#5240390)
Feels great on Chrome on Android. My only nitpick might be that the delete button is really close to the edge of the screen; a larger margin would be nice, I think.
Re:Show HN: Swipe-to-delete goodness for the mobile web by akane on Monday February 18, 2013 @03:47PM (#5240536)
Thanks, I'll play around with that.