google-code-export / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
1 stars 0 forks source link

Mark-up crashed, when I use inner style display:none #235

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I created some divs with php code
2. Each div, except first I set style="display: none";
3. After viewing data I saw, that only first div was displayed properly. When I 
changed style to "display: block" of other div's by javascript, it crashed my 
HTML-markup. 

What is the expected output? What do you see instead?
I expected to see each div with scroll. My HTML-markup was crashed.

What version of the jScrollPane are you using? On what browser? And operating 
system?
Windows XP SP3, Mozilla Firefox 3.6.12, jScrollPane - v2.0.0beta6 - 2010-10-28.

Please provide a URL to a page displaying the problem.

Please provide any additional information below.

I found solution, if I use Jquery methods show and hide. All works properly. 
But bug still exists. Also I looked through firebug styles of the jScrollPane 
elements, and I noticed, that main scroll container have wrong width. May it 
will help you. See attached files.

Original issue reported on code.google.com by nikolay....@gmail.com on 24 Nov 2010 at 9:20

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

This is no longer the correct place to report issues with jScrollPane. Please 
make sure you are using the latest version of jScrollPane ( 
http://jscrollpane.kelvinluck.com/ ) and if you are still having problems 
please post on the github issues list: 
http://github.com/vitch/jScrollPane/issues including a URL demonstrating the 
problem (preferably on http://www.jsfiddle.net/ so it's easy to modify and fix).

Thanks,

Kelvin :)

Original comment by kelvin.l...@gmail.com on 25 Nov 2010 at 1:41