Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rsoto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
From 0 to Hacker News Front Page in 30 Days
(boxfactura.com)
3 points
by
rsoto
10y ago
|
0 comments
122.
▲
by
rsoto
10y ago
> I'm entering something. I need to reference something else off the screen. I drag down to see the thing off the screen. I pull too hard and ... the page is refreshed and I've lost my work That's not an anti-feature, that
123.
▲
by
rsoto
10y ago
Maybe we will be showcasing the webapps that use PulltoRefresh.js, when you're done, could you open an issue with your side project's URL?
124.
▲
by
rsoto
10y ago
I also use Firefox on Android, but don't really mind whether it has pull to refresh native, or not, I just <3 Firefox.
125.
▲
by
rsoto
10y ago
Thanks bro, when I grow up I want to be just like you. We should go out to grab some drinks soon!
126.
▲
by
rsoto
10y ago
I don't think you need a library for that, it's just a few lines. I'm currently a little busy, but there's one touch event that disables those «features» (can't remember which). I'd suggest you to download the
127.
▲
by
rsoto
10y ago
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 overri
128.
▲
by
rsoto
10y ago
That's actually a feature, at least on mobile. Chrome has its native pull to refresh. The use case we're aiming with this library is that not always you want to refresh the whole page; sometimes you want to update just one section
129.
▲
by
rsoto
10y ago
It's hard to explain, as I'm not on OSX/iOS, but I'm 90% sure it's when you scroll up too fast and you can see «behind» the website. Because of the touch events, the browser decides to not use those features, as it
130.
▲
by
rsoto
10y ago
I'll take a look, but I have the same Android version, and I'm on Chrome 54, and everything works fine.
131.
▲
by
rsoto
10y ago
Thanks! Yeah, it's the same with the native pull to refresh feature on Chrome; it is overridden when the site has certain touch events, as there's no standard to prevent the default behaviors. I guess it's the same with Safar
132.
▲
by
rsoto
10y ago
Hello, how you doin'? What's your company?
133.
▲
by
rsoto
10y ago
I'm not familiar with Ionic, but thanks for the compliment! (Implying it's less buggy haha). I'd love it if the library can be in it. Maybe open a PR/issue?
134.
▲
by
rsoto
10y ago
What OS/version are you on currently? When Chrome mobile detects there's a touch event, it prevents the native reload feature to be triggered.
135.
▲
by
rsoto
10y ago
It actually works virtually in every browser, if it has touch emulation.
136.
▲
by
rsoto
10y ago
Updated!
137.
▲
by
rsoto
10y ago
This library was born due to other existing libraries requiring to modify the layout's markup. Since we mostly use the flexbox trick to create a sticky footer, this would have required quite a rewrite. The focus on PullToRefresh.js is
138.
▲
Show HN: PullToRefresh.js
(boxfactura.com)
119 points
by
rsoto
10y ago
|
48 comments
139.
▲
by
rsoto
10y ago
I'm open sourcing one small component from one webapp we have: the pull to refresh feature. It is vanilla javascript, super light and fast, and it won't require you to modify the markup.
140.
▲
by
rsoto
10y ago
As stated previously, there's no easy answer. Even when validating a telephone number, then everyone would use Twilio to create multiple "validated" accounts.
141.
▲
by
rsoto
10y ago
On mobile, you go to search to see the trending topics.
142.
▲
by
rsoto
10y ago
One type of abuse that seems oddly popular here in Mexico is via a trending topic. I suspect that some kind of mafia group with a lot of followers are testing their weapons (since creating a trending topic is a very good business) by insult
143.
▲
by
rsoto
10y ago
Yeah, I was confused as well, as I don't follow channels directly on YouTube, but via RSS, and I've been doing that for 5+ years, at least. For the curious, you can add a channel via this URL: https://www.youtube.com
144.
▲
by
rsoto
10y ago
I just love Game Maker's Toolkit, if you haven't watched it and love videogames, you should. Even if you don't like videogames, but you are creating experiences for other people, you should understand what's behind a vid
145.
▲
by
rsoto
10y ago
I agree—it's not about buying from one company or another, it's about looking at your options. Yes, Apple does excellent hardware, can hardly argue about that; I'm not too fond of their software, but there are options. I boug
146.
▲
by
rsoto
10y ago
Ugh, what were they thinking? I can't even imagine what this feature would be for!
147.
▲
by
rsoto
10y ago
It can be both, just as Livereload: you can add it as a script, or as a extension (which adds that script)
148.
▲
by
rsoto
10y ago
Here in Mexico, you get an XML for your invoices, which you must keep in order to be tax deductable. However, it gets messy very quickly, as it must have your Tax ID, it has to exist in the tax office's database and then you must keep
149.
▲
by
rsoto
10y ago
I agree. I'm on the same boat, and despite what idlewords is saying, I can't understand not making even the most basic changes, like when you click the title, it goes to the link, not to something else that never works (like the p
150.
▲
by
rsoto
10y ago
Firefox. And it has been for years, I remember when I downloaded a zip file with the Phoenix browser, you had to manually enable flash, and even with such an early version, it was magic. If I remember correctly, it even had tabs. Then the a
More ›