Bottom content cutoff using overflow: auto; and jscrollpane

前端 未结 2 834
滥情空心
滥情空心 2021-01-15 06:11

Because of a rotated content area, textoverflow, and a -webkit issue about the scroll bar not showing properly I\'ve decided to use jscrollpane. For initial issue: Origina

2条回答
  •  难免孤独
    2021-01-15 06:37

    Welcome to stackoverflow!

    This looks like a simple problem of timing. You are/something is altering the content of the scroll pane after the jsScrollPane() function has run.

    First try simply including it in a $(document).ready() function. If that doesn't work go through your functions and check to see if any javascript is altering the size of that container and add jsScrollPane() as a callback.

    Pretty sure the first will work for you though :)

提交回复
热议问题