yash-goli / jquery-nicescroll

Automatically exported from code.google.com/p/jquery-nicescroll
0 stars 0 forks source link

Scroll areas won't resize when browser width changes. #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I created a jsfiddle. With the problem. Essentially create a div area where 
when resized, it will grow or shrink based on the browser.

Note that this DOES work in 2.9.7 but not 3.0.0. The fiddles are identical 
aside from the path of the JS file it includes. 

http://jsfiddle.net/hikirsch/RB2ck/ - v3.0.0 R7 (linked from a personal server)
http://jsfiddle.net/hikirsch/CF9tf/ - v2.9.7 (linked directly to github)

What is the expected output? What do you see instead?
if you start by making the browser wider, you'll see it more easily that the 
scrollbar stays static. If you make the browser smaller in width, you'll start 
to sidescroll the entire browser window.

What version of the product are you using? On what operating system?
Both 3.0.0 and 2.9.7 (see fiddle). I'm testing this on Chrome OS X.

Please provide any additional information below.
I think that the resize method isn't setting the width inline on the element.

Original issue reported on code.google.com by adam.kir...@gmail.com on 22 Nov 2012 at 1:10

GoogleCodeExporter commented 9 years ago
Fixed on RC8

Original comment by inuya...@gmail.com on 25 Nov 2012 at 10:28

GoogleCodeExporter commented 9 years ago
v3 released

Original comment by inuya...@gmail.com on 17 Dec 2012 at 8:35