底部内容截断使用溢出:自动;和jscrollpane [英] Bottom content cutoff using overflow: auto; and jscrollpane

查看:82
本文介绍了底部内容截断使用溢出:自动;和jscrollpane的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于内容区域旋转,文本溢出以及有关滚动条无法正确显示的-webkit问题,我决定使用jscrollpane.对于初始问题: Sitepoint的原始问题.

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: Original Issue question to Sitepoint.

为了防止所有额外的CSS代码为-webkit浏览器创建我自己的滚动条,我决定使用jscrollpane.它可以接受一个主要问题:文本的底部几行仍然不可见!请参阅:溢出:自动;使用jscrollpane,但切断底部文本.如何使其可滚动以使所有内容可见?

To prevent all that extra css code to create my own scrollbar for -webkit browsers I decided to use jscrollpane. It works accept for one major issue: The bottom several lines of text remain invisible! Please see: overflow: auto; with jscrollpane, but cutting off bottom text. How do I make it scrollable enabling all of the content to be visible?

感谢您的帮助.

PChuprina

PChuprina

推荐答案

jScrollPane有一些解决方案:

jScrollPane has some options for solving this:

autoReinitialise:true

(增加了处理开销.仅在必要时使用)

(adds processing overhead.. use only if necessary)

http://jscrollpane.kelvinluck.com/auto_reinitialise.html

reinitialise()

(手动更新窗格大小)

http://jscrollpane.kelvinluck.com/dynamic_content.html

这篇关于底部内容截断使用溢出:自动;和jscrollpane的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆