1

我正在使用 scrolltop 移动到滚动的底部:

 // Auto-scroll to the bottom
 $("#test_div").scrollTop($("#test_div")[0].scrollHeight);

这是 div 元素:

<div class="dialog">
    <div id="test_div" class="conversation">
    </div>​
</div>

由于某些原因,滚动条没有移动到列表的底部。我不确定这里是否有什么问题。

4

0 回答 0