g1eny0ung / hugo-theme-dream

🌱 A Hugo theme named Dream.
http://g1en.site/hugo-theme-dream/
MIT License
334 stars 130 forks source link

Can not scroll in Chrome/Chromium desktop #169

Closed techmagus closed 1 month ago

techmagus commented 3 years ago

Issue: Scrolling is working when viewing the theme in Chrome/Chromium desktop. It works fine under Firefox 85.0.

OS: Ubuntu 20.04 LTS Browser: Chromium Version 89.0.4385.0

Sites tested:

-- side note: I opened an issue in the wrong repo (your site's repo), I closed that one and created a new one here. Apologies!

g1eny0ung commented 3 years ago

I opened an issue in the wrong repo (your site's repo), I closed that one and created a new one here. Apologies!

Never mind. 🤣

Maybe this issue is related to https://github.com/KingSora/OverlayScrollbars because the dream theme uses it to unify the scrollbar style in different platforms.

I will try to find out if there is the same situation.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Darthagnon commented 1 year ago

@techmagus I noticed scrolling was a bit broken on your website, though I haven't noticed the same on mine or g1eny0ung's. I do suspect it is the overlay scrollbars js; iirc, I added a switch to disable it (but it needs further work) in the active fork.

techmagus commented 1 year ago

I noticed scrolling was a bit broken on your website, though I haven't noticed the same on mine or g1eny0ung's. I do suspect it is the overlay scrollbars js; iirc, I added a switch to disable it (but it needs further work) in the active fork.

Oh, that, it's back. It's on Chrome/Chromium-based browser, right? Probably because I updated other javascript files overlayscrollbars is dependent on. IThank you for the heads-up.

Yep, a switch is a good option. Also, there is a major (breaking) upgrade of overlayscrollbars.js (https://github.com/KingSora/OverlayScrollbars), but I don't know how to integrate it into the theme. Maybe you know how. ^_^

g1eny0ung commented 1 month ago

In v3, I've not used OverlayScrollbars. And I'm no longer going to maintain the previous major version. So I'll close this issue.