Skip to content

Commit

Permalink
fix / #29, v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
noeldelgado committed Jun 9, 2016
1 parent 92cc493 commit 58c7abc
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.4.1 (2016-06-8)

Bugfixes:

- [#29](../../issues/29) .gm-resize-trigger causes white block overlaying scrollable content
- [#23](../../pull/23) fix autoshow functionality whilst dragging thumb of a scrollbar

## 1.4.0 (2016-05-28)

Features:
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gemini-scrollbar",
"main": "index.js",
"version": "1.4.0",
"version": "1.4.1",
"homepage": "https://github.com/noeldelgado/gemini-scrollbar",
"authors": [
"Noel Delgado <[email protected]>"
Expand Down
10 changes: 8 additions & 2 deletions examples/00-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,17 @@ <h1>Hi</h1>
<script>
window.onload = function() {
var sidebar = new GeminiScrollbar({
element: document.querySelector('.sidebar-scrollbar')
element: document.querySelector('.sidebar-scrollbar'),
onResize: function() {
console.log('sidebar resized');
}
}).create();

var main = new GeminiScrollbar({
element: document.querySelector('.main-scrollbar')
element: document.querySelector('.main-scrollbar'),
onResize: function() {
console.log('main resized');
}
}).create();
};
</script>
Expand Down
4 changes: 3 additions & 1 deletion gemini-scrollbar.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* gemini-scrollbar
* @version 1.4.0
* @version 1.4.1
* @link http://noeldelgado.github.io/gemini-scrollbar/
* @license MIT
*/
Expand Down Expand Up @@ -85,6 +85,7 @@
transition: opacity 120ms ease-out;
}
.gm-scrollbar-container.gm-autoshow:hover .gm-scrollbar,
.gm-scrollbar-container.gm-autoshow:active .gm-scrollbar,
.gm-scrollbar-container.gm-autoshow:focus .gm-scrollbar {
opacity: 1;
transition: opacity 340ms ease-out;
Expand All @@ -100,4 +101,5 @@
overflow: hidden;
pointer-events: none;
z-index: -1;
visibility: hidden;

This comment has been minimized.

Copy link
@joakim-larsson-stratsys

joakim-larsson-stratsys Jun 23, 2016

This line makes it not work in Firefox. gm-resize-trigger seems to do nothing.

This comment has been minimized.

Copy link
@noeldelgado

noeldelgado Jun 24, 2016

Author Owner

Thanks for the heads up @joakim-larsson-stratsys! I am working on that right now. 👍

This comment has been minimized.

Copy link
@noeldelgado

noeldelgado Jun 24, 2016

Author Owner

@joakim-larsson-stratsys: this should be fixed (v1.4.2) 65dc5b6. Thanks again!

}
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* gemini-scrollbar
* @version 1.4.0
* @version 1.4.1
* @link http://noeldelgado.github.io/gemini-scrollbar/
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gemini-scrollbar",
"version": "1.4.0",
"version": "1.4.1",
"description": "Custom scrollbars with native scrolling",
"license": "MIT",
"repository": "noeldelgado/gemini-scrollbar.git",
Expand Down

0 comments on commit 58c7abc

Please sign in to comment.