Comment

Comment by mg

It doesn't seem to prevent scrolling?

https://jsfiddle.net/46nha7v3/

I enjoy native elements when they are there. You can do really nice interactive trees with the <details> element for example:

https://twitter.com/marekgibney/status/1593950777739218947

But I am not sure if it is a good idea to bake more and more of them into the browsers. Couldn't well made JavaScript modules provide the same functionality without making browsers more and more complex?

parent mg 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton