Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7889861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:12:21+00:00 2026-06-03T06:12:21+00:00

OS X Lion and above allow the user to turn on/off iOS-style floating scroll

  • 0

OS X Lion and above allow the user to turn on/off iOS-style floating scroll bars – either manually via System Preferences, or by plugging in a mouse.

WebKit-based browsers (and maybe Opera?) switch their scroll bar style immediately – is there an event that fires when this occurs? (WebKit-only is just fine)


Some notes:

  • OS X fires NSPreferredScrollerStyleDidChangeNotification when the user switches their scroll bar style

  • WebKit does not appear to subscribe to this event (no hits when grepping for it).

  • I suspect that WebKit is handling this via the NSViewBoundsDidChangeNotification event (which, I assume, fires for the scroll view’s content view).

  • WebKit handles this event within -[WebHTMLView _frameOrBoundsChanged], which seems like one potential re-layouting point.

  • There are also references to this notification in WebPDFView and the inspector’s WebNodeHighlight – both seem unrelated to this case.

  • -[WebDynamicScrollBarsView adjustForScrollOriginChange] seems to indicate that events may not be fired (if so, it’d be nice to see some confirmation)


Polling for changes is not an acceptable answer to me (performance & the layout jumping after the user changes the value).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:12:23+00:00Added an answer on June 3, 2026 at 6:12 am

    From everything I’ve read thus far, there is no DOM event fired during this style transition.

    The most conclusive example is to create an overflow: auto div, and then log all of its events (in Safari or Chrome) via monitorEvents. Nothing is logged when changing the scroll bar style.

    I have an open webkit bug on the issue (though it’s probably minor enough that we won’t see any movement on it).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Problem A few of us running either Mac OS X Snow Leopard or Lion
In Lion, source list group items now have a Hide/Show button that appears when
On lion after each crash when I start the app Lion asks if I
I recently upgraded to Lion and I am trying to install Rails. I used
The OS X Lion (10.7) OS runs on mostly 64-bit binaries as reported by
I'm on OSX Lion using wkhtmtopdf that came with homebrew (0.9.9) and all of
I'm on OSX Lion using TextMate to write my C++ programs. I wanted to
So I'm running Mac OSX Lion and I recently installed Eclipse IDE for Java
I just upgraded from SnowLeapord to Lion and now cannot create virtualenvs. I understand
Mac OS X 10.7.3 Lion, Ruby 1.9.2, Rails 3.2.2, Sass 3.2.3 Following this tutorial:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.