Hyunje Alex Jun
eb02d5ae65
Remove select element hack for Firefox
...
The select scrolling bug has been resolved in the latest version of
Firefox.
Resolve #311
2015-12-10 12:59:23 +09:00
wujekbogdan
6fbaa00403
no message
2015-12-09 22:08:57 +01:00
wujekbogdan
c14feba0bf
added an example on how to create custom themes.
2015-12-09 22:08:48 +01:00
wujekbogdan
6fbfd5c90d
updated README.md file. Added documentation for 'theme' parameter.
2015-12-09 22:01:10 +01:00
wujekbogdan
eddd2c2731
themeable perfect-scrollbar
...
- added „theme” parameter
- replaced all the CSS visual styles with SCSS variables
- added $ps-theme-default SCSS map that holds all the variables
- added $theme parameter to all the mixins
2015-12-09 18:19:02 +01:00
mdsa
4c08b0e089
Fixes touch event handling in nested scrollbar containers
2015-11-23 04:31:05 -08:00
Axel Bocciarelli
c04b662a1b
fix events not triggered when scrolling too past boundaries
...
Instead of returning when scrolling past the container's boundaries,
override `value` to the max allowed and let the other custom events
fire if needed.
2015-11-23 08:59:59 +11:00
Axel Bocciarelli
5ba86c2217
Merge remote-tracking branch 'noraesae/master'
2015-11-23 08:55:18 +11:00
DanielApt
6e32d3ddce
Merge pull request #420 from axelboc/master
...
Dispatch custom events on `update` and fix scroll-end event not being triggered when dragging
2015-11-19 23:46:44 +00:00
Axel Bocciarelli
9f9f15f83c
fix lint error
2015-11-19 11:50:31 +11:00
Axel Bocciarelli
7e04a2e72b
trigger events on update
...
Dispatch the custom events on `Ps.update`:
```
container.scrollTop = 50;
Ps.update(container);
```
This is useful for controlling the scroll position via left/right
arrows and enabling/disabling these arrows on scroll or when the
start/end is reached. This also allows for the events to be dispatched
on page load by calling `Ps.update` right after `Ps.initialise`.
2015-11-19 11:26:28 +11:00
Axel Bocciarelli
24b34d3dea
fix scroll-end events not triggered
...
... when dragging the scrollbar to the end with the mouse.
2015-11-19 11:05:57 +11:00
DanielApt
e1910cde3e
use pageX/YOffset instead of scrollX/Y
...
As pointed out by @pliasetski these properties are not supported in IE11 and below
This fixes #409
2015-11-16 22:25:11 +00:00
DanielApt
bbf3d4db9f
Remove usages of scrollbarYTop and scrollbarXLeft
...
#390
2015-11-10 22:41:56 +00:00
DanielApt
3b134d6193
Fix broken drag scrolling when left is out of viewport
...
Related to #390
2015-11-09 23:11:33 +00:00
DanielApt
e9024292cd
Fix broken drag scrolling when top is out of viewport
...
Addresses issue no. 390 #390
2015-11-08 22:03:35 +00:00
TheBoef
e4dda6f408
Touchpad/Trackpad scrolling IE10+ and Edge
...
Right now you can't scroll with your touchpad/trackpad on a element that
has the perfect scrollbar in IE10+ and Edge.
By using the property '-ms-overflow-style' (Supported in IE10+ and Edge)
too hide the overflow instead of the default 'overflow' property, you
keep the scrolling with touchpad/trackpad functionality.
2015-10-14 23:59:19 +02:00
Hyunje Alex Jun
fd53ae0b48
Add a custom release NPM script.
2015-10-03 21:50:46 +09:00
Hyunje Alex Jun
66fd8bfd6a
Release 0.6.7
...
Quick fix for 0.6.6.
2015-10-03 21:48:58 +09:00
Hyunje Alex Jun
4aa28add99
Add missing '.min' in compressed JS files
2015-10-03 21:48:02 +09:00
Hyunje Alex Jun
d6ede33202
Release 0.6.6
...
1. Add custom events
2. Support higher Node.js versions
3. Add useSelectionScroll option
4. Bug fixes
2015-10-03 21:44:26 +09:00
Hyunje Alex Jun
1c3b409d12
Remove 'bump' and 'release' tasks from gulpfile.js
...
There is only one JSON left for the project and it's better to bump the
version manually.
2015-10-03 21:43:59 +09:00
Hyunje Alex Jun
17e5f67519
Make selection scroll optional
...
It's not essential but rather causes several problems.
2015-10-03 21:37:24 +09:00
Hyunje Alex Jun
002034fd54
Return an Array object from class.list
...
To fix #383
2015-10-03 21:21:56 +09:00
Hyunje Alex Jun
8761735a54
Update Travis CI and NPM configuration
...
To be compatible with their newest versions.
2015-10-03 21:16:23 +09:00
Hyunje Alex Jun
c285521caa
Lint update-scroll.js
...
With the new .eslintrc
2015-10-03 20:45:38 +09:00
Hyunje Alex Jun
3d2d50c308
Update .eslintrc
...
To make it compatible with new versions of ESLint and specify other
options.
2015-10-03 20:44:38 +09:00
DanielApt
a0d39e1b49
Make sure scroll is at the start/end when the reach start/end event fires
2015-09-29 15:28:58 +01:00
DanielApt
e288476ba0
Update README.md with new events
2015-09-28 11:13:25 +01:00
DanielApt
e9bc40bd37
Update events example to show new reach events
2015-09-28 11:09:51 +01:00
DanielApt
0b8fe0ac0b
Dispatch events when reaching start / end of axes
2015-09-28 11:08:59 +01:00
Jun
a3676556b2
Merge pull request #386 from DanielApt/events
...
Dispatch scroll events
2015-09-24 19:44:31 +09:00
DanielApt
39893fc6f2
Add example for events
2015-09-24 11:02:33 +01:00
DanielApt
6c5b9d249e
Add missing parentheses
2015-09-24 09:53:59 +01:00
DanielApt
2ef7e81ce9
Add Events to the README
2015-09-23 21:05:28 +01:00
DanielApt
3b90c734e4
Dispatch custom scroll events with new updateScroll function
2015-09-23 20:49:37 +01:00
Hyunje Alex Jun
afebe908b1
NPM version bump.
...
https://github.com/npm/npm-registry-couchapp/issues/148
2015-08-18 04:16:20 +09:00
Hyunje Alex Jun
6cbb4a9b9d
Release 0.6.5
...
1. Add shift+space support.
2. Bug fixes.
2015-08-18 03:54:56 +09:00
Hyunje Alex Jun
51f33a44b5
Remove unused garbage rails before append a new one.
...
This patch fixes #376 .
2015-08-18 03:51:12 +09:00
Hyunje Alex Jun
8eac54d49f
Add a queryChildren method to dom.js
2015-08-18 03:26:15 +09:00
Hyunje Alex Jun
ed4e335978
Declare a module object DOM in dom.js
...
To refer in the sibling methods.
2015-08-18 03:23:27 +09:00
Jun
272bb4983a
Merge pull request #379 from srcn/master
...
Add shift+space support for keyboard
2015-08-17 21:43:02 +09:00
srcn
f200bea4cc
add shift+space support for keyboard
2015-08-17 15:19:30 +03:00
Hyunje Alex Jun
b1d7aa0e64
Release 0.6.4
...
1. Add null-check for instances.
2. Add 'stopPropgationOnClick' option.
2015-07-25 02:28:12 +09:00
Hyunje Alex Jun
49e39f513d
Update README.md
2015-07-25 02:26:55 +09:00
Jun
89f4226778
Merge pull request #366 from dorilla/feature/stop-propagation-on-click
...
Allow the clicking of a rail to propagate
2015-07-25 02:23:42 +09:00
Dan Maglasang
79f4cfcf5f
Update README.md
2015-07-22 22:47:33 -04:00
Dan Maglasang
158b113d18
Allow the clicking of a rail to propagate
2015-07-22 22:43:38 -04:00
Hyunje Alex Jun
6c642d8a47
Just early return instead of throwing an error for no instance.
2015-07-14 12:22:40 +09:00
Hyunje Alex Jun
f9f20eeb6f
Add null-check when updating or destroying an instance.
...
Throw an error when an instance is not found.
2015-07-07 15:25:16 +09:00