News for hackers. Stuff that matters.
Re:CSS Houdini by dheera on Wednesday May 12, 2021 @03:11PM (#27134013)
Yeah, I mean there are lots of web components out there, but under the hood they are div hell and css hell.

"npm i --save @lion/input-amount"

This isn't directed at you, but I shouldn't have to use npm to build a webpage. Also, building web components out of css/div hell severely impacts performance when you have a long scrollable list of them.

And most of these web components might look nice but they don't support native touch/swipe gestures in exactly the same way that the OS does.

I tried the Lion tabs component on my phone and I can't swipe between tabs. Probably the most utterly basic UI gesture. Fail.

Re:CSS Houdini by madeofpalk on Wednesday May 12, 2021 @03:48PM (#27134370)
> but under the hood they are div hell and css hell.

And? That's what all the "native" web inputs are as well.