Div JspVerticalBar Missing Inside The JspContainer
In my current web project Im trying to change the scrollbar with a lib called jScrollPane. The script applies and generates the jspContainer, but the div jspVerticalBar ist missin
Solution 1:
I know I am too late to reply, but just thought that other people like me, who came here just to find the answer to the question, might get some help
Checkpoints:
- the container must have a fixed width (or at least a maximum width)
- the container must have a fixed height (in pixel, e.g., 200px, 250px)
- the container must have overflow:auto; (or at least overflow-x:hidden;overflow-y:auto;)
a regular scrollbar must appear without applying jScrollPane
Important
In case you still cannot fix the issue, then here is one additional checkpoint:
? Are you adding contents dynamically to your container on which jScrollPane is applied?
If the answer to above question is yes, then please consider the reinitialise() api of jScrollPane and use it after dynamically adding the content.
The above mentioned api is very useful for a SPA
For more information and example, please visit: http://jscrollpane.kelvinluck.com/dynamic_content.html
Post a Comment for "Div JspVerticalBar Missing Inside The JspContainer"