Opened 9 years ago

Last modified 5 years ago

#7128 open bug

Datepicker: image DOM position should not change in RTL mode

Reported by: Scott González Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.8.10
Keywords: Cc:
Blocked by: Blocking:

Description

Change History (5)

comment:1 Changed 7 years ago by mrozik

I created example with DIR="RTL" attribute on HTML tag and isRTL: false config in Datepicker:

http://jsfiddle.net/v5VHE/2/

It shows that even if isRTL config on Datepicker is set to false, the dates (and all page) are displayed correctly for RTL direction. Maybe we should consider that problem lies in after() and before() methods, because they don't check DIR attribute.

comment:2 Changed 7 years ago by Scott González

@mrozik The point of the forum post was to point out that the isRTL setting should not affect the location of the button. The location of the button will be controlled by the content's dir attribute. It doesn't matter what locale the calendar is in, the layout of the widget within the flow of the page should follow the direction of the surrounding content.

comment:3 Changed 7 years ago by Scott González

Milestone: 1.9.01.11.0

comment:4 Changed 7 years ago by mikesherov

Status: newopen

comment:5 Changed 5 years ago by Scott González

Milestone: 1.11.0none
Note: See TracTickets for help on using tickets.