- #56 avoid stop propagation
- #53 prevent losing keyboard focus in object
- #47 hide thumb when no more scroll needed
- #49 hovering parent container reveals child container scrollbars
Feature:
- #41 add
minThumbSize
option, defaults to20
(px)
Patch:
- #31 removed reset of
viewElement.style.{width,height}
, turn off relayouts on update.
Bugfixes:
- comment
- Removed
visibility: hidden
from.gm-resize-trigger
so it works on Firefox. - Updated the order in how we add the
type
for the resizer object so it works on IE correctly.
- Removed
Bugfixes:
- #29 .gm-resize-trigger causes white block overlaying scrollable content
- #23 fix autoshow functionality whilst dragging thumb of a scrollbar
Features:
- #26 Add a handler to detect resizes of the scrolling element.
- Added
onResize
option hook by which clients can be notified of resize events
Bugfixes:
- 3b5674c Remove scrollbar width test element.
- Clear viewElement{width,height} before reading them back on the update method.
Bugfixes:
- added inline styles to the test element
- removed
.gm-test
css rule from the stylesheet
Features:
- #16 Allow user to force Gemini
Bugfixes:
- #11 Classnames don’t get added to the elements
Bugfixes:
- do not remove class selectors if the markup is already defined (createElements: false)
Bugfixes:
- do not re-append elements on
create
ifcreateElements
option isfalse
- do not add
gm-prevented
after destroy - clean document and window references on
destroy
forreateElements: false
Bugfixes:
- #9 better support for scrollbars with offset positions
Bugfixes:
- #7 do not remove elements when calling the
destroy
method if thecreateElements
option was set tofalse
Bugfixes:
- getViewElement method returning null if the scroll bars were not created
Features:
- Added
getViewElement
method that returns the scrollable element, useful if you want check its properties such as scrollHeight or add/remove content
Bugfixes:
- OS X: showing custom scrollbars even when having overlayed ones natively #1
- Prevent error when loading the script on the
head
:/ #2
Features:
- Safari support
- added webkitTranslate for thumb position change
Features:
-
IE9 support
- classList || className (add/remove class selectors)
- style.transform || style.msTransform (update thumb position)
- document.onstartselection prevented while draggin' the scrollbars
-
Minor Bugfixes:
-
:active
state ===:hover
state by default for.ms-scrollbar .thumb
-
thumb inherit
border-radius
from parentms-scrollbar
by default
Bugfixes:
SCROLLBAR_WIDTH
value when::-webkit-scrollbar
was present with an explicitwidth
- Force hiding the scrollbar elements when the custom-scrollbars were prevented
Updates:
- :after pseudo element is not longer used to style the scrollbars. This makes the process of customization much more intuitive