Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area
1–10 of 14 posts
Re: Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area
#2Doesn'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?
Re: Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area
#3Doesn'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?
Was thinking the same thing.
Re: Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area
#4Doesn'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
#5"Pure CSS" is a term that implies there is no JavaScript involved. I suggest rewording the readme so it doesn't confuse.
Re: Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area
#6Why not use some box-shadow so it looks like a shadow rather than a line?
Re: Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area
#7Why does everything as simple as this need to be a React project these days? It would be so much better if it was pure vanilla CSS or a Pen.
Re: Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area
#8Both the "react-scroll-shadow" link on the left of the demo and the github cat link to https://github.com/zzarcon/react-circle
Re: Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area
#9I'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!
Re: Show HN: ReactScrollShadow – CSS shadow to indicate scrollable area
#10Both 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!