~/talk

Arbitrary Redesign of the System Scrollbar

TalkinRussianat FrontTalks 2013 · on Friday, 2013-07-05· [css, web-platform]
links:none on file
slides:none on file

Shows how to replace the native visual scrollbar while preserving the browser’s native scrolling by hiding the system bar and drawing a custom one. Compares two strategies (many emulators that replace scrolling vs few that keep it), and presents the Baron library (≈6 KB plus a 4 KB DOM helper) which computes scrollbar size from offsetWidth−clientWidth, makes minimal DOM changes, exposes CSS-driven styling and plugins (sticky headers, buttons, pull-to-refresh), requires calling update after async content changes, and is used in production to deliver smoother, native-feeling scrolling.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30Why customize scrollbar
  3. 3:16Scrollbar customization methods
  4. 5:45Baron principles
  5. 9:03CSS control
  6. 10:25Code optimization
  7. 12:36Plugin extensibility
  8. 15:54Comparison with alternatives
  9. 21:36First usage steps
  10. 22:20Baron advantages
  11. 23:29Development plans
  12. 24:57Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.