Skip to content

Commit

Permalink
mobile android/ios fixes and other important fixes
Browse files Browse the repository at this point in the history
- typos on touchaction for IE10+ #658
- MS Edge (14+) detection fixed
#655
- webkitCancelRequestAnimationFrame deprecated #650
-
enableobserver option added #643
- Bug in bower.json #617
- Versions
from "3.6.7" to "latest" brokes scroll on touch devices #634
-
Horizontal scroll doesn't work on mobile devices tested with chrome &
firefox on Android #646
- How to Scroll in Mobile Device #626
- 3.6.7
not working on ios or android #574
- On iPhone safari does not work
#649
- Touch scrolling leads to a click event on Windows touch (Edge and
Firefox browser) #614
- Nicescroll not working in IOS 9+ #611
- fixed
ghost horizontal scrollbar
- enableobserver (default:true), attach Mutation Observers (or
alternative observers) to monitoring any attribute change at nicescroll
DOM, on performance issue you can disable
- deprecated touchbehavior, new touchemulate option, name changing I
hope solve many misunderstanding about this option meaning
- a little
more saving on zoomico.png (from 393b to 254b)
  • Loading branch information
inuyaksa committed May 21, 2017
1 parent c42fd04 commit d4bb7f7
Show file tree
Hide file tree
Showing 14 changed files with 4,135 additions and 452 deletions.
2 changes: 1 addition & 1 deletion MIT.LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Open Source Initiative OSI - The MIT License (MIT):Licensing
[OSI Approved License]
The MIT License (MIT)

Copyright (c) 2011-14 InuYaksa
Copyright (c) 2011-17 InuYaksa

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#jQuery.NiceScroll
v. 3.6.8 02-29-2016
v. 3.7.0 2017-05-21

- [Web Site: nicescroll.areaaperta.com](http://nicescroll.areaaperta.com)
- [Repo: github.com/inuyaksa/jquery.nicescroll](https://github.com/inuyaksa/jquery.nicescroll)
Expand All @@ -14,13 +14,13 @@ v. 3.6.8 02-29-2016
- HORIZONAL scrollbar support!
- It supports DIVs, IFrames, textarea, and document page (body) scrollbars.
- Compatible with all desktop browser: Firefox 4+, Chrome 5+, Safari 4+ (win/mac), Opera 10+, IE 6+. (all A-grade browsers)
- Compatible with mobile device: iPad/iPhone/iPod, Android 2.2+, Blackberry phones and Playbook (WebWorks/Table OS), Windows Phone 7.5 Mango.
- Compatible with all recent desktop browser and older: Firefox 4+, Chrome 5+, Safari 4+ (win/mac), Opera 10+, IE 6+. (all A-grade browsers)
- Compatible with mobile device: iPad/iPhone/iPod, Android 2.2+, Blackberry phones and Playbook (WebWorks/Table OS), Windows Phone 10 and older.
- Compatible with all touch devices: iPad, Android tablets, Window Surface.
- Compabible with multi-input device (mouse with touch or pen): Window Surface, Chrome Desktop on touch notebook.
- Compatible with 2 directions mice: Apple Magic Mouse, Apple Mouser with 2-dir wheel, PC mouse with 2-dir wheel (if browser support it).

So you have scrollable divs with momentum for iPad 4+ and you have consistent scrollable areas for all desktop and mobile platforms.
So you have customizable and scrollable divs with momentum for iPad and you have consistent scrollable areas for all desktop and mobile platforms.

Sexy zoom feature, you can "zoom-in" the content of any nicescroll'ed div.
Nice to use and nice to see, all the content of the div in fullscreen mode.
Expand Down Expand Up @@ -123,7 +123,8 @@ $("#thisdiv").niceScroll({
zindex: "auto" | <number>, // change z-index for scrollbar div
scrollspeed: 60, // scrolling speed
mousescrollstep: 40, // scrolling speed with mouse wheel (pixel)
touchbehavior: false, // enable cursor-drag scrolling like touch devices in desktop computer
touchbehavior: false, // DEPRECATED!! use "touchemulate"
touchemulate: false, // enable cursor-drag scrolling like touch devices in desktop computer
hwacceleration: true, // use hardware accelerated scroll when supported
boxzoom: false, // enable zoom for box content
dblclickzoom: true, // (only when boxzoom=true) zoom activated when double click on box
Expand Down Expand Up @@ -176,7 +177,7 @@ Related projects

* LICENSE

## Copyright 2011-16 InuYaksa
## Copyright 2011-17 InuYaksa

######Licensed under the MIT License, http://www.opensource.org/licenses/mit-license.php
######Images used for zoom icons have derived from OLPC interface, http://laptop.org/8.2.0/manual/Browse_ChangingView.html
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery.nicescroll",
"main": [
"./jquery.nicescroll.js"
"./jquery.nicescroll.min.js"
],
"ignore": [
"**/.*",
Expand Down
31 changes: 0 additions & 31 deletions changelog_3.6.8.txt

This file was deleted.

40 changes: 40 additions & 0 deletions changelog_3.7.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Changelog nicescroll release 3.7.0
http://nicescroll.areaaperta.com/
https://github.com/inuyaksa/jquery.nicescroll


Fixes
- typos on touchaction for IE10+ #658
- MS Edge (14+) detection fixed #655
- webkitCancelRequestAnimationFrame deprecated #650
- enableobserver option added #643
- Bug in bower.json #617
- Versions from "3.6.7" to "latest" brokes scroll on touch devices #634
- Horizontal scroll doesn't work on mobile devices tested with chrome & firefox on Android #646
- How to Scroll in Mobile Device #626
- 3.6.7 not working on ios or android #574
- On iPhone safari does not work #649
- Touch scrolling leads to a click event on Windows touch (Edge and Firefox browser) #614
- Nicescroll not working in IOS 9+ #611
- fixed ghost horizontal scrollbar


New options
- enableobserver (default:true), attach Mutation Observers (or alternative observers) to monitoring any attribute change at nicescroll DOM, on performance issue you can disable


Changes
- deprecated touchbehavior, new touchemulate option, name changing I hope solve many misunderstanding about this option meaning


TODO
- railpadding
- railpadding top & bottom settings ignored - thanks to simovinci.bellissimo
- honorcssoverflow
- autohidemode:hover
- check 2D scrolling
- check text selection on cursor drag (testing)
- recursive position:fixed check
- check horiz mouse wheel scrolling speed on chrome
- mouse pan scroll

15 changes: 9 additions & 6 deletions demo/browser.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Expand All @@ -24,7 +24,7 @@
}
</style>

<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="js/jquery.nicescroll.min.js"></script>

<script>
Expand All @@ -34,7 +34,7 @@
nice = $("html").niceScroll();
});

var obj = window;
var obj = window;//$(window);

console.log(obj.length);
console.log("selector" in obj);
Expand Down Expand Up @@ -63,13 +63,16 @@
toCell(3,6,nice.detected.isieold);

toCell(7,1,nice.detected.isie11);
toCell(7,2,nice.detected.ismsedge);

toCell(4,1,nice.detected.isopera);
toCell(4,2,nice.detected.isopera12);
toCell(4,3,nice.detected.isoperamini);

toCell(5,1,nice.detected.isios);
toCell(5,2,nice.detected.isios4);
toCell(5,3,nice.detected.isios8);
toCell(5,4,nice.detected.isios10);

toCell(6,1,nice.detected.ischrome);
toCell(6,2,nice.detected.ischrome22);
Expand Down Expand Up @@ -135,15 +138,15 @@
<td bgcolor="#E0E0E9">Opera&nbsp;12</td>
<td bgcolor="#E0E0E9">iOS4- <span class="num">(6)</span></td>
<td bgcolor="#E0E0E9">Chrome 22+</td>
<td bgcolor="#E0E0E9">&nbsp;</td>
<td bgcolor="#E0E0E9">MSEdge</td>
</tr>
<tr>
<td bgcolor="#E0E0E9">&nbsp;</td>
<td bgcolor="#E0E0E9">&nbsp;</td>
<td bgcolor="#E0E0E9">&nbsp;</td>
<td bgcolor="#E0E0E9">IE9+</td>
<td bgcolor="#E0E0E9">Opera&nbsp;Mini</td>
<td bgcolor="#E0E0E9">&nbsp;</td>
<td bgcolor="#E0E0E9">iOS8</td>
<td bgcolor="#E0E0E9">Chrome 26+</td>
<td bgcolor="#E0E0E9">&nbsp;</td>
</tr>
Expand All @@ -153,7 +156,7 @@
<td bgcolor="#E0E0E9">&nbsp;</td>
<td bgcolor="#E0E0E9">IE8</td>
<td bgcolor="#E0E0E9">&nbsp;</td>
<td bgcolor="#E0E0E9">&nbsp;</td>
<td bgcolor="#E0E0E9">iOS10</td>
<td bgcolor="#E0E0E9">&nbsp;</td>
<td bgcolor="#E0E0E9">&nbsp;</td>
</tr>
Expand Down
Loading

0 comments on commit d4bb7f7

Please sign in to comment.