covid19india-react icon indicating copy to clipboard operation
covid19india-react copied to clipboard

Custom Scroll Bar

Open soham-dixit opened this issue 4 years ago • 16 comments

Is your feature request related to a problem? Please describe.

  • No, it isn't related to any problem.

Describe the solution you'd like

  • A custom scroll bar with similar colour scheme from the site

Additional context Custom Scroll Bar GIF

soham-dixit avatar Jun 16 '20 19:06 soham-dixit

I don't really see any advantage in this.

bee-rickey avatar Jun 18 '20 12:06 bee-rickey

@bee-rickey Yeah, but just for visual changes.

soham-dixit avatar Jun 18 '20 15:06 soham-dixit

i might make this hppen but there are some other ui color changes being done might as well merge this issue with that

w3dg avatar Jun 30 '20 12:06 w3dg

@debopamgupta @Soham7270 Screenshot 2020-07-03 at 7 40 39 PM Screenshot 2020-07-03 at 7 40 51 PM Screenshot 2020-07-03 at 7 41 00 PM Screenshot 2020-07-03 at 7 41 11 PM

I tried the custom scrollbar thing. It just doesn't look good on light background. Also, I have got it working on Chrome and Safari. Firefox still not working. I have to look into that, but see screenshots for ref.

balrajsingh9 avatar Jul 03 '20 14:07 balrajsingh9

@balrajsingh9 Firefox doesn't support the full customizations with scroll bar.

soham-dixit avatar Jul 03 '20 14:07 soham-dixit

@Soham7270 It should right check?

balrajsingh9 avatar Jul 03 '20 14:07 balrajsingh9

@balrajsingh9 Nope, I have also worked on the custom scroll bar, it's totally working on Chrome, Safari and Edge. But not on Firefox. As per my knowledge it isn't supported on Firefox.

soham-dixit avatar Jul 03 '20 14:07 soham-dixit

@Soham7270 After trying for some time and looking here and there on Github, Reddit, and SO, I was able to achieve custom scrollbars on Firefox. I'm running v78, but it should work in v63+

Also in MacOS I had to do Settings > General > Scrolling > Always Not sure if this works in Windows. 😕

Screenshot 2020-07-03 at 8 22 02 PM

Voila 👀 🎊

balrajsingh9 avatar Jul 03 '20 14:07 balrajsingh9

@balrajsingh9 Awesome! Is it working on all browsers now??

soham-dixit avatar Jul 03 '20 14:07 soham-dixit

So far tested on Chrome, Safari. Although this works on Firefox, but the customization is limited as opposed to the webkit customization for scrollbars.

Let me know if we should proceed with customizing the scrollbars, but I would limit this to dark backgrounds only. @Soham7270

balrajsingh9 avatar Jul 03 '20 15:07 balrajsingh9

Yeah Firefox' webkit for scroll bar is limited @balrajsingh9

Edit- Maybe we can do a dark black scrollbar for light theme of the site?

soham-dixit avatar Jul 03 '20 15:07 soham-dixit

@Soham7270 I agree!

w3dg avatar Jul 04 '20 03:07 w3dg

Add the scroll bar to state list rather than page so the map will keep constant and visible on scrolling of state list. Currently when we scroll to last state the maps get invisible. image

amuagarwal avatar Jul 04 '20 04:07 amuagarwal

/claim

Zaman3027 avatar Sep 17 '20 20:09 Zaman3027

/claim

marootushar avatar Apr 22 '21 02:04 marootushar

/claim

Nirmitjatana avatar Jun 05 '21 07:06 Nirmitjatana