Commit Graph

454 Commits

Author SHA1 Message Date
Hyunje Jun
06929ae685 Don't consume if child's not scrollable
Resolve #541.
2016-10-18 16:28:52 +09:00
Hyunje Jun
aa63ff0370 Disable selection scroll on key pressed
Resolve #570.
2016-10-18 16:01:03 +09:00
Hyunje Jun
c7ddde69c2 Add example to change theme 2016-10-18 15:45:19 +09:00
Hyunje Jun
69e3fb2688 Apply hover style for drag scrolling
Resolve #555.
2016-10-18 14:59:27 +09:00
Hyunje Jun
fad7f8b4a6 Add TypeScript definition
Resolve #552.
2016-10-18 12:58:42 +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
Jun
b3880ca638 Merge pull request #551 from maximeloizeau/touch-scrolling-bug
Touch scrolling bug
2016-08-12 08:58:42 +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
Jun
3719dd614c Merge pull request #536 from frg/jspm-dependencies
Defined dependencies for jspm
2016-07-27 18:56:35 +09:00
Jean Farrugia
68dbc427ea added jspm dependencies 2016-07-20 07:47:22 +02: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
0ab95f2d57 Drop TravisCI testing on Node 0.12 2016-07-13 02:33:53 +09:00
Jun
985980a892 Release 0.6.12
1. Fix scrolling for multiple select
2. Change default scrollbar theme
3. Minor bug fixes
2016-07-13 02:28:31 +09:00
Jun
fdc8d64fd9 Fix custom-theme example to be more useful
Not it provides a meaningful example. It also just includes pre-built
css file for the example.
2016-07-13 01:13:08 +09: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
Jun
4198b23231 Merge pull request #525 from howey-aus/use-native-default-prevented
On keydown, check for e.isDefaultPrevented() [jquery] and e.defaultPrevented [native]
2016-06-23 10:04:22 +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
Jun
aec4e37f61 Release 0.6.11
1. Add support of iframe for keyboard event
2. Add 'handlers' option
3. Drop support for IE <= 9
4. Allow children native scroll
5. Enhance browser compatibility
6. Minor bug fixes
2016-04-22 21:28:00 +09:00
DanielApt
269a1dc402 Merge pull request #486 from tkhyn/master
Rounding error fix when scrollbar is all the way down or right
2016-04-14 22:43:22 +01: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
Hyunje Alex Jun
edaeccebf2 Place minified js files under /dist/js 2016-03-21 01:24:26 +09: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
ad5cd4fe53 Add JSDelivr to readme
Now that we have closed #439, document it.
2016-02-26 17:54:19 +00:00
DanielApt
dc951a3804 Remove console log 2016-02-22 22:41:11 +00:00
DanielApt
9996b1c8e3 Document scrolling of children 2016-02-22 22:36:20 +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
9580e08886 Add templates for GitHub issues and pull requests
Also add CONTRIBUTING.md, which was originally a page in Wiki
2016-02-22 23:02:06 +09: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
4a661f181f Drop support on IE<=9
They cannot be called modern anymore.
2016-02-22 21:40:39 +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
Jun
cfc658d648 Merge pull request #458 from ciffel/fix-stopPropagation
Fix stopPropagationOnClick handler
2016-02-22 19:57:02 +09:00
Jun
181265261b Merge pull request #461 from pra85/patch-1
Fix a typo in Readme
2016-02-22 01:28:45 +09:00