pfSense Gold Subscription

Author Topic: Blog - javascript scrolling hacks  (Read 390 times)

0 Members and 1 Guest are viewing this topic.

Offline sporkme

  • Jr. Member
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Blog - javascript scrolling hacks
« on: July 20, 2017, 03:51:39 pm »
I know, I must be one of a handful of people that uses an actual mouse with a scroll wheel, but as one of them, I'll lodge this request:  remove the javascript junk on the blog that screws with mouse acceleration, it basically makes scrolling unusable - just one tiny up or down scroll jumps huge amounts.  Even in other contexts there's rarely any kind of common sense case to be made for fiddling with scroll acceleration on desktop.

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14295
  • Karma: +1330/-193
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Blog - javascript scrolling hacks
« Reply #1 on: July 21, 2017, 05:16:30 am »
Are you talking here?

https://www.netgate.com/blog/

I use mouse with scroll wheel, and not having any issues with scrolling that link.. Is there some other blog your talking about?
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.3.4_p1 (work)
1x 2.4.2-RELEASE on VM esxi 6.5 (home)

Offline chrcoluk

  • Sr. Member
  • ****
  • Posts: 377
  • Karma: +19/-50
    • View Profile
Re: Blog - javascript scrolling hacks
« Reply #2 on: July 21, 2017, 09:33:08 am »
I just tested with my scroll wheel in chrome.  The speed is ok but there is a weird jump affect as the scrolling slows down.
pfSense 2.4
Qotom Q355G4 or Braswell N3150 with Jetway mini pcie 2x intel i350 lan - 4 gig Kingston 1333 C11 DDR3L
 - 60 gig kingston ssdnow ssd - ISP Sky UK

Offline john_galt

  • Jr. Member
  • **
  • Posts: 40
  • Karma: +5/-0
    • View Profile
Re: Blog - javascript scrolling hacks
« Reply #3 on: July 21, 2017, 11:09:06 am »
Hi,

Maybe this could be the issue? There's a work around in chrome settings.
Disable "Smooth Scrolling"

https://productforums.google.com/forum/#!topic/chrome/camZVtTiGyo;context-place=topicsearchin/chrome/category$3ABeta%7Csort:relevance%7Cspell:false
Doug

Offline chrcoluk

  • Sr. Member
  • ****
  • Posts: 377
  • Karma: +19/-50
    • View Profile
Re: Blog - javascript scrolling hacks
« Reply #4 on: July 21, 2017, 12:40:50 pm »
except smooth scrolling is nice, the blog is the only site with the issue. :)

I dont care that much I was just posting feedback here to confirm the issue.
pfSense 2.4
Qotom Q355G4 or Braswell N3150 with Jetway mini pcie 2x intel i350 lan - 4 gig Kingston 1333 C11 DDR3L
 - 60 gig kingston ssdnow ssd - ISP Sky UK

Offline sporkme

  • Jr. Member
  • **
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: Blog - javascript scrolling hacks
« Reply #5 on: July 21, 2017, 01:25:00 pm »
That's the site (the pfsense blog as opposed to...?), and if you pick around in the javascript for the theme they've purchased,there's all sorts of scrolling f***ery going on there.  I'm sure it varies from browser to browser, OS to OS.  I'm Chrome, OS-X.  It's site-specific. I've seen similar behavior on a handful of other sites, usually WordPress blogs with one of those themes that has a 200+ item bullet list of features to justify the cost of the theme.

Just pointing it out, if the blog guy doesn't grok the code they have in place that's fine, just noting it's totally annoying and gratuitous.  It resides in common/common.min.js.

I also have no interest in disabling "smooth scrolling" to correct one site.  I like my smooth scrolling elsewhere, TYVM. :)