You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load contents into the #child and perform api.initialise()
Set #parent's display to something different than none to make it visible
The scroll bar will not show and the data overflow of #child will remain hidden.
I would not say this is generally desired, since you often want to load data into divs before they're made visible, and display: none is the preferred version of hiding things by jQuery effects.
Not tested with visibility: hidden.
The text was updated successfully, but these errors were encountered:
jScrollPane can only calculate heights when content is visible. auto_reinitialise could maybe help you or you could show the content, initialise the scrollpane and hide the content.
Unfortunately I don't have time to support jScrollPane these days so it is unlikely I'll make any changes - if you want to submit a PR which automatically shows, calculates and hides the scrollpane if it's hidden then I'd be happy to merge it...
Let's say you have
#child
and performapi.initialise()
#parent
'sdisplay
to something different thannone
to make it visible#child
will remain hidden.I would not say this is generally desired, since you often want to load data into
div
s before they're made visible, anddisplay: none
is the preferred version of hiding things by jQuery effects.Not tested with
visibility: hidden
.The text was updated successfully, but these errors were encountered: