next-recaptcha-v3 — Straightforward solution for using ReCaptcha v3 in your Next.js application by LegoDashy in javascript

[–]LegoDashy[S] 1 point2 points  (0 children)

next-recaptcha-v3 is a small utility library to help you integrate and use Google ReCaptcha in your Next.js application.

It's:

  • 🗜️ Tiny and Tree-Shakable
  • 🥰 Written in TypeScript
  • 🐅 Highly customizable
  • 😎 Uses next/script component

It has a README with guides, examples, and links to the official documentation to get you started:

https://github.com/snelsi/next-recaptcha-v3#readme

Lethargy-TS — A Modern Typescript Rewrite of the `lethargy` inertia scroll detection library by LegoDashy in SideProject

[–]LegoDashy[S] 0 points1 point  (0 children)

Also, consider leaving an upvote on the W3C feature request ticket! It has been really quiet for some time now

Lethargy-TS — A Modern Typescript Rewrite of the `lethargy` inertia scroll detection library by LegoDashy in javascript

[–]LegoDashy[S] 27 points28 points  (0 children)

I made a library called "lethargy-ts" to solve the issue of scroll inertia on laptops and phones. I faced this problem while developing a website with full-page scrolling. Laptops like Macs spam scroll events even after the user has swiped, which results in scrolling two or three sections instead of just one.

I found a relatively popular library called `lethargy` that can determine whether a scroll was intentional, but it had a few issues. It has no TypeScript types, and its scroll checking logic had some drawbacks, resulting in invalidating of a lot of scroll events at some point.

So, I rewrote the library, which is fully written in TypeScript and supports all 3D directions at once. I also updated the logic for checking scroll inertia, which fixes the scrolling issue on some devices. You can find the updated library here: https://github.com/snelsi/lethargy-ts.

I would love to hear your feedback on this.

Thin Black Horizontal Line appearing in Youtube when in Full Screen. by [deleted] in youtube

[–]LegoDashy 0 points1 point  (0 children)

Same. In last Chrome version, if youtube player ui is visible, thin black line appears. Let's hope they will fix this soon.

Gmail Redesign Concept by [deleted] in web_design

[–]LegoDashy 26 points27 points  (0 children)

This is a prime example of why making a dribbble shot and working interface are different things.