Search and Top Navigation
#4423 closed bug (wontfix)
Opened April 01, 2009 01:22PM UTC
Closed June 21, 2009 09:17AM UTC
datepicker not displayed on first click with <body dir="rtl">
Reported by: | ovesh | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8 |
Component: | ui.datepicker | Version: | 1.7.1 |
Keywords: | rtl | Cc: | |
Blocked by: | Blocking: |
Description
On a page where the dir attribute is set to "rtl" on the body tag, i.e.
<body dir="rtl">
then the datepicker is not displayed until the 4th click.
This can be worked around by setting dir="rtl" on a div nested in the body.
Attachments (0)
Change History (2)
Changed April 08, 2009 01:42AM UTC by comment:1
milestone: | TBD → 1.8 |
---|
Changed June 21, 2009 09:17AM UTC by comment:2
resolution: | → wontfix |
---|---|
status: | new → closed |
I can only reproduce this in IE7 and even then it appears on the second click. The problem is the ui-helper-hidden-accessible class initially applied to the popup datepicker division. This positions it very far to the left, which effectively increases the page width and causes the location of the input field to be read as very far to the right. The datepicker is then shown at that position, i.e. off the screen. Thereafter the positioning undoes the initial setting and the datepicker shows normally. This needs to be fixed in the ThemeRoller core CSS. Raised as a CSS problem: #4623.