News for hackers. Stuff that matters.
Re:Show HN: PullToRefresh.js by blauditore on Tuesday December 06, 2016 @11:56AM (#13116103)
While it works quite nicely, it's maybe not a good idea UX-wise to use it on general websites, as it overrides native browser behaviour (at least for some mobile browsers). For example, I hate when websites (on desktop) override keyboard shortcuts like Ctrl+F or F5, or prevent the default right-click context menu in order to keep me from downloading an image.

For HTML/JS apps though it's a whole different story and might help giving it much more native look and feel.

Re:Show HN: PullToRefresh.js by rsoto on Tuesday December 06, 2016 @12:10PM (#13116240)
I agree with you, I also hate when websites hijack standard keyboard shortcuts. Altough I don't see this being the case: as it requires touch events, and even if you're on a touch-capable laptop or desktop PC, it won't override much (maybe the native pull to refresh from Chrome, at most).

Also, what I said in a previous comment: maybe you want consistency across browsers/platforms or branding, customizing how it looks. And maybe you don't want to refresh the whole page, maybe just one section calling a JSON API, or perhaps you have a heavy job that requires a worker.

[dead]
Re:Show HN: PullToRefresh.js by dang on Tuesday December 06, 2016 @05:46PM (#13118962)
> Stop selling your hatred bullshit

I realize you weren't abusing the person you thought you were, but that's no excuse for breaking HN's rules this badly. Since we've warned you repeatedly about this, we've banned your account.

If you don't want it to be banned, you're welcome to email [email protected]. We unban accounts if people give us reason to believe they'll follow the rules in the future.

Re:Show HN: PullToRefresh.js by MichaelApproved on Tuesday December 06, 2016 @12:53PM (#13116653)
... you do realize that you are replying to OP, right? rsoto submitted this and is all over the comments having good discussions with other HN commentators. He/she is simply discussing use-cases for the product created.
Re:Show HN: PullToRefresh.js by throwawayIndian on Tuesday December 06, 2016 @01:10PM (#13116839)
Dang! I see it now, the comment was intended only for the parent though. I guess it's better left like this only.

It's only sad when developers sell UX gyaan on standards on one hand and screw the same standard with things like react elsewhere; only because some large corp says it's cool.