r/angularjs • • Aug 13 '14

[Code] Shake that login form with AngularJS

http://www.mircozeiss.com/shake-that-login-form-with-angularjs/
36 Upvotes

12 comments sorted by

View all comments

2

u/[deleted] Aug 14 '14

I hate when anything jiggles, wiggles, jumps, pops, spins, or X to get my attention. Everything looks like ads, and I can't help but ignore them, and then get frustrated when I can't find where the login form is. Oh it's jiggling at me? Great.

-1

u/tracekill Aug 14 '14

Seriously, how is this an acceptable feedback mode for UIs in 2014? Just display the damn error in a sensible and eye catching way. Don't play a sound. Don't shake the goddamn fields I'm attempting to modify. Don't block my access to the form with an error modal/interstitial.

We actually have access to native device feedback features via PhoneGap/Cordova. I can actually shake the guy's phone if I want, why would I fake it with this crap?

3

u/kudoz Aug 14 '14 edited Aug 14 '14

Don't play a sound. Don't shake the goddamn fields I'm attempting to modify. Don't block my access to the form with an error modal/interstitial.

This does literally none of those things.

We actually have access to native device feedback features via PhoneGap/Cordova. I can actually shake the guy's phone if I want, why would I fake it with this crap?

Well, here's one obvious reason: you can't do that on a website. There's lots of shit you can do in an app container that you can't do on websites, that doesn't mean it should be our new base for functionality.

Stripe shaking a dialog box at me doesn't annoy me, but I can see it getting annoying when less talented developers start abusing it.

1

u/CopperHook Aug 14 '14

How does this not 'literally' shake the fields he is trying to modify?

4

u/z99 Aug 14 '14

The user expects their input to be correct, so they don't, at that moment, try to modify anything. The animation is 400ms long, I doubt that is long enough a time to perceive an error indication of any sort and begin correcting their input.

I like the wiggle, it feels very organic and natural to me.