long horizontal page scroll-bar when I use "direction: rtl;"

400 views
Skip to first unread message

Abdullah

unread,
Apr 10, 2012, 9:40:55 AM4/10/12
to Ajax.org Cloud9 Editor (Ace)
Hi,

Actually, I liked this editor and I wanted to put it in my website,
which is in a right-to-left language (Arabic). I want to use my
website in the direction "rtl" by putting this in my CSS:

body{
direction: rtl;
}

However, when I put that in my CSS and I put this editor, sudden very
long horizontal (unwanted) page scroll-bar. It appears in both IE9 and
Mozilla FireFox, but not in Google Chrome.

This is an example of the problem:

http://sb4host.com/t/editor.html

Note: the problem is not in the editor's horizontal scroll-bar, but in
the page's horizontal scroll-bar. In fact, my page doesn't need this
scroll-bar. It just appears when I put the editor.

Thank you.

Best,

Harutyun Amirjanyan

unread,
Apr 12, 2012, 11:40:01 AM4/12/12
to ace-d...@googlegroups.com
Hi,

Thank you for bug report.
as you can see on your page it is fixed!
hope, now you like ace even more

Best

Abdullah

unread,
Apr 12, 2012, 2:18:41 PM4/12/12
to Ajax.org Cloud9 Editor (Ace)
Hi,

Thank you so much. It works great now in all browsers. However,
another problem occurred for me. I uploaded a picture that shows the
problem:

http://www.sb4host.com/t/t.jpg

The left editor is the previous version (with no problem), but the new
version on the right and it has the problem.

Note: this problem is not related to "direction: rtl;" because even
the official sample has this problem.

Thank you again.

Best,
Reply all
Reply to author
Forward
0 new messages