当使用 Direction:rtl 时,Chrome 在右侧显示垂直滚动条
当我放置 style='direction: rtl;'
时,垂直滚动条应该切换两侧并显示在左侧而不是右侧。这是它在 IE 和 FF 中的工作方式,但在 Chrome 中它仍然位于右侧。
这是一个已知的错误吗?有什么办法可以解决吗?
When I put style='direction: rtl;'
the vertical scrollbar should switch sides and show on the left instead of right. This is how it works in IE and FF, but in Chrome it remains on the right.
Is it a known bug? Is there any way to fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个已知的 webkit 错误。在 Safari 中,滚动条也会呈现在右侧。
这里有一个答案,它有几种不同的解决方法,包括 jQuery 插件 jScrollPane 和 一个看起来原生的黑客。
This is a known webkit bug. The scroll will render on the right in Safari, as well.
There's an answer here that has several different workarounds, including the jQuery plugin jScrollPane and a native-looking hack.