Hyunje Jun
69e3fb2688
Apply hover style for drag scrolling
...
Resolve #555 .
2016-10-18 14:59:27 +09:00
Hyunje Jun
0deb4c9bc7
Don't use pointer-events: none
...
Resolve #526 and #547 .
2016-10-18 12:45:58 +09:00
Hyunje Jun
11fcd09a99
Reverse wheel scroll axis on shift pressed
...
Resolve #548 .
2016-10-18 11:55:03 +09:00
Hyunje Jun
0fc5c69b3f
Add metaKey and altKey handling in keyboard handler
...
Resolve #549 .
2016-10-18 11:49:20 +09:00
Hyunje Jun
898928b686
Don't do type-safe comparison on null
...
Resolve #537 .
2016-10-18 11:00:22 +09:00
Hyunje Jun
ce7146121f
Set touch-action to auto
...
Resolve #480 .
2016-10-18 10:18:55 +09:00
Jun
908cee5490
Merge pull request #535 from lpetrov/invalid-state-error-on-scroll-update
...
Fixes https://github.com/noraesae/perfect-scrollbar/issues/534 (Calli…
2016-08-13 12:55:29 +09:00
Maxime Loizeau
7123891d4d
Updated code styling to match repo recommendations
2016-08-11 15:55:20 +01:00
Maxime Loizeau
4c00a7fdb9
Prevent infinite update when touching without moving
2016-08-11 15:50:46 +01:00
Lyubomir Petrov
34135d6ef0
Fixes https://github.com/noraesae/perfect-scrollbar/issues/534 (Calling .update from an ps-scroll-y triggers an InvalidStateError #534 )
2016-07-19 15:57:17 +03:00
Jun
26852236cc
Enhance 'scale scrollbars on hover' feature
...
Now it's set as default, with a little different form of settings.
2016-07-13 01:13:08 +09:00
Jun
e0510b5fad
Merge pull request #513 from cdriscol/trackbar_scaling
...
Add theme option to scale (grow) rails on hover
2016-07-13 01:12:44 +09:00
Jun
838ccbba77
Make defaultPrevented condition more readable
2016-06-23 10:05:56 +09:00
Dan Howe
3eb2a49109
e.isDefaultPrevented is a jQuery property, but the event passed might be a native browser event, so we should also check for "defaultPrevented" if the jQuery props don't exist.
2016-06-23 10:11:18 +10:00
Chris Driscol
1b2c853972
Hover scaling now sets width and height on scrollbar to 100% on hover.
2016-06-14 23:07:00 -06:00
Chris Driscol
e9d7cc97c8
Adding custom-theme scss used for custom-theme example. Added ability to set a hover scale size in the theme which will scale the X and Y rails when hovered.
2016-06-01 16:50:34 -06:00
Jun
9016f207e9
Fix scrolling for multiple select
...
Solve #481
2016-05-27 02:25:51 +09:00
Thomas Khyn
2cac43ef39
Taking the absolute value is actually not necessary
2016-04-14 12:25:50 +12:00
Thomas Khyn
b0a38741df
Mitigates rounding errors due to non-subpixel scroll values
2016-04-14 12:09:24 +12:00
Jun
42364c4d43
Merge pull request #468 from tonypine/master
...
Use only getAttribute and setAttribute to maximize browser compatibility, due to partial support of the .dataset method
2016-03-05 20:17:54 +09:00
vsn4ik
f20a8532ff
Use files for npm and move CONTRIBUTING.md
2016-03-05 17:46:00 +09:00
DanielApt
7621a2488c
Merge pull request #447 from antoinegomez/patch-1
...
Add support of iframe for keyboard event
2016-03-03 00:22:06 +00:00
tonypine
205c6d0223
Use only getAttribute and setAttribute to maximize browser compatibility, due to partial support of the .dataset method
2016-03-01 11:26:35 -03:00
DanielApt
dc951a3804
Remove console log
2016-02-22 22:41:11 +00:00
DanielApt
f14b6a0d47
Allow children native scroll
...
Partly uses @DEFusion's #459 pull-request. Closes #455
2016-02-22 22:32:06 +00:00
Hyunje Alex Jun
a2b2a77de1
Change variable definition style
...
Use 'var' everytime, instead of using ','.
2016-02-22 22:45:32 +09:00
Hyunje Alex Jun
e63d4c03cb
Rename dom module variable name 'd' to 'dom'
...
Enhance readability.
2016-02-22 21:49:36 +09:00
Hyunje Alex Jun
d277a363b0
Rename helper module variable 'h' to '_'
...
Enhance readability.
2016-02-22 21:49:33 +09:00
Hyunje Alex Jun
bd7134f33d
Add 'handlers' option to configure scrolling methods
...
Please refer to README.md and examples/options-handlers.html for the
usage.
2016-02-22 20:58:48 +09:00
Hyunje Alex Jun
6f63623b93
Modify helper.clone to clone an array too
2016-02-22 20:58:47 +09:00
Mingc
7e0d5f5dc5
Fix stopPropagationOnClick handler
2016-02-18 15:08:45 +08:00
DanielApt
3d91c6f098
Merge pull request #424 from azala/master
...
Fixes touch event handling in nested scrollbar containers
2016-02-01 17:58:17 +00:00
Antoine Gomez
636eaffd41
Add support of iframe for keyboard event
...
Really simple piece of code to add support of iframe in keyboard event activeElement test.
2016-01-27 18:49:45 +01:00
Hyunje Alex Jun
c49cf7905e
Re-apply missing IE10+ and Edge fix for touch/trackpad
2016-01-24 04:25:51 +09:00
Hyunje Alex Jun
965e315b30
Merge pull request #434 from wujekbogdan/Get-rid-of-border-radius-and-transition-mixins
...
replaced mixins with autoprefixer
2016-01-24 03:13:51 +09:00
DanielApt
3e76ce9d3e
Merge branch 'pr/433'
2016-01-23 17:24:22 +00:00
Jun
2413028ad4
Merge pull request #401 from TheBoef/master
...
Touchpad/Trackpad scrolling IE10+ and Edge
2016-01-23 15:52:37 +09:00
Hyunje Alex Jun
fbfe505408
Remove comments from source files
...
Abundant comments.
2016-01-05 11:27:42 +09:00
DanielApt
4d7f441d1f
Merge pull request #422 from axelboc/master
...
Fix events not triggered when scrolling past boundaries
2015-12-26 13:37:29 +01:00
Hyunje Alex Jun
4f6ed64b17
Make keyboard handler consistent when focused
...
Resolve #437
2015-12-23 23:34:37 +09:00
wujekbogdan
57b1404e29
- removed transition() and border-radius() mixins
...
- added gulp-autoprefixer
2015-12-10 11:46:35 +01:00
wujekbogdan
bcfe954803
- fixed indentation (2 spaces)
...
- added missing new lines at the end of files
- removed 'ps-theme-big-and-ugly' theme
- improved readme.md. Added an example on how to create custom themes with scss.
2015-12-10 10:21:44 +01:00
Hyunje Alex Jun
8a3ed6d0b7
Add tabindex properties to scrollbars
...
Resolve #425
2015-12-10 13:36:19 +09:00
Hyunje Alex Jun
1dfbbe9e56
Set scrollbar size to 0 when inactive
...
Resolve #415
2015-12-10 13:17:59 +09:00
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
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
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