Live data from Hacker News

Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area

github.com

1–10 of 14 posts

Re: Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area

#4
post #2

Doesn't work all the time, you should use IntersectionObserver or ResizeObserver etc. Edit: I'll rephrase my question, why does the Hacker News Frontpage include stories with zero comments and 1 point?

I think we should aim to be more constructive on showHNs.

Re: Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area

#9
I've got a plugin[1] I use for something similar when it's a horizontal scrollable area. Scroll the boxes in the demo[2] to see the shadows appear/disappear when there is overflowed text on the left or right edge!

1: https://github.com/tomhodgins/jsincss-overflow

2: https://tomhodgins.github.io/jsincss-overflow/test/

Re: Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area

#10

Both the "react-scroll-shadow" link on the left of the demo and the github cat link to https://github.com/zzarcon/react-circle

Oh sorry about, I copied that from a previous project I did, just published a fix for that. Thanks!
Post reply on HN